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

◆ ModifySignalProbability()

override bool CatchingContextTrapsBase::ModifySignalProbability ( inout float probability)
inlineprotected

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

221 {
222 probability = 1 - Math.Pow((1 - m_CumulativeTrappingSuccess),(1/m_AttemptsCount));
223
224 return true;
225 }
float m_CumulativeTrappingSuccess
after N attempts, the chance to catch should be this. Only highest one applies. @NOTE: Take care,...
Определения CatchingContextTraps.c:7

Перекрестные ссылки m_AttemptsCount, m_CumulativeTrappingSuccess и Math::Pow().

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