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

◆ SetBloodyHandsPenaltyChancePerAgent()

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

increments the chances per agents

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

6715 {
6716 float storedValue = GetBloodyHandsPenaltyChancePerAgent(type);
6717 if (amount > storedValue)
6718 m_BloodyHandsPenaltyChancePerAgent.Set(type, Math.Clamp(amount, 0.0, 1.0));
6719 }
float GetBloodyHandsPenaltyChancePerAgent(eAgents type)
Определения PlayerBase.c:6704
ref map< eAgents, float > m_BloodyHandsPenaltyChancePerAgent
Определения PlayerBase.c:305

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