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

◆ SetBloodyHandsPenaltyChancePerAgent()

void ManBase::SetBloodyHandsPenaltyChancePerAgent ( eAgents type,
float amount )
inlineprivate

increments the chances per agents

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

7262 {
7263 float storedValue = GetBloodyHandsPenaltyChancePerAgent(type);
7264 if (amount > storedValue)
7265 m_BloodyHandsPenaltyChancePerAgent.Set(type, Math.Clamp(amount, 0.0, 1.0));
7266 }
float GetBloodyHandsPenaltyChancePerAgent(eAgents type)
Определения PlayerBase.c:7251
ref map< eAgents, float > m_BloodyHandsPenaltyChancePerAgent
Определения PlayerBase.c:357

Перекрестные ссылки Math::Clamp(), GetBloodyHandsPenaltyChancePerAgent() и m_BloodyHandsPenaltyChancePerAgent.