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

◆ GetBaitEffectivity()

float InventoryItem::GetBaitEffectivity ( )
inlineprotected

generic effectivity as a bait for animal catching

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

4803 {
4804 float ret = 1.0;
4805 if (HasQuantity())
4806 ret *= GetQuantityNormalized();
4807 ret *= GetHealth01();
4808
4809 return ret;
4810 }
override bool HasQuantity()
Определения ItemBase.c:3503
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:3440

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