DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ ApplyAgentsToBleedingSources()

void AreaExposureMdfr::ApplyAgentsToBleedingSources ( PlayerBase player,
float deltaT )
inlineprotected

См. определение в файле AreaExposure.c строка 107

108 {
109
110 int count = player.GetBleedingSourceCount();
111 float agent_dose = count * AGENT_DOSE_PER_BS_SEC * deltaT;
112 player.InsertAgent(eAgents.CHEMICAL_POISON, agent_dose);
113
114 }
eAgents
Определения EAgents.c:3
const float AGENT_DOSE_PER_BS_SEC
Определения AreaExposure.c:14

Перекрестные ссылки AGENT_DOSE_PER_BS_SEC.

Используется в OnTick().