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

◆ SetBloodyHandsPenaltyChancePerAgent()

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

increments the chances per agents

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

6941 {
6942 float storedValue = GetBloodyHandsPenaltyChancePerAgent(type);
6943 if (amount > storedValue)
6944 m_BloodyHandsPenaltyChancePerAgent.Set(type, Math.Clamp(amount, 0.0, 1.0));
6945 }
float GetBloodyHandsPenaltyChancePerAgent(eAgents type)
Определения PlayerBase.c:6930
ref map< eAgents, float > m_BloodyHandsPenaltyChancePerAgent
Определения PlayerBase.c:352

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