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

◆ GetBaitEffectivity()

float GetBaitEffectivity ( )
protected

generic effectivity as a bait for animal catching

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

4804 {
4805 float ret = 1.0;
4806 if (HasQuantity())
4807 ret *= GetQuantityNormalized();
4808 ret *= GetHealth01();
4809
4810 return ret;
4811 }
override float GetQuantityNormalized()
Gets quantity in normalized 0..1 form between the item's Min a Max values as defined by item's config...
Определения ItemBase.c:3416
override bool HasQuantity()
Определения ItemBase.c:3481

Перекрестные ссылки GetQuantityNormalized() и HasQuantity().