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

◆ GetBaitEffectivity()

float InventoryItem::GetBaitEffectivity ( )
inlineprotected

generic effectivity as a bait for animal catching

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

4715 {
4716 float ret = 1.0;
4717 if (HasQuantity())
4718 ret *= GetQuantityNormalized();
4719 ret *= GetHealth01();
4720
4721 return ret;
4722 }
override bool HasQuantity()
Определения ItemBase.c:3381
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:3319

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