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

◆ SetBloodyHandsPenaltyChancePerAgent()

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

increments the chances per agents

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

6707 {
6708 float storedValue = GetBloodyHandsPenaltyChancePerAgent(type);
6709 if (amount > storedValue)
6710 m_BloodyHandsPenaltyChancePerAgent.Set(type, Math.Clamp(amount, 0.0, 1.0));
6711 }
float GetBloodyHandsPenaltyChancePerAgent(eAgents type)
Определения PlayerBase.c:6696
ref map< eAgents, float > m_BloodyHandsPenaltyChancePerAgent
Определения PlayerBase.c:305

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