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

◆ GetBaitEffectivity()

float InventoryItem::GetBaitEffectivity ( )
inlineprotected

generic effectivity as a bait for animal catching

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

4787 {
4788 float ret = 1.0;
4789 if (HasQuantity())
4790 ret *= GetQuantityNormalized();
4791 ret *= GetHealth01();
4792
4793 return ret;
4794 }
override bool HasQuantity()
Определения ItemBase.c:3451
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:3389

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