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

◆ ApplySplint()

void ManBase::ApplySplint ( )
inlineprotected

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

2424 {
2425 float add_health_coef = 0.33;
2426 // The idea is to slightly increase health of broken limb so the player is still limping. Using more splints will help but each time less. 100% recovery can be achieved only through long term healing.
2427 if (GetBrokenLegs() == eBrokenLegs.BROKEN_LEGS)
2428 {
2429 AddHealth("LeftLeg", "Health", (GetMaxHealth("LeftLeg", "Health") - GetHealth("LeftLeg", "Health") ) * add_health_coef );
2430 AddHealth("RightLeg", "Health", (GetMaxHealth("RightLeg", "Health") - GetHealth("RightLeg", "Health")) * add_health_coef );
2431 AddHealth("RightFoot", "Health", (GetMaxHealth("RightFoot", "Health") - GetHealth("RightFoot", "Health")) * add_health_coef );
2432 AddHealth("LeftFoot", "Health", (GetMaxHealth("LeftFoot", "Health") - GetHealth("LeftFoot", "Health")) * add_health_coef );
2433 }
2434 }
eBrokenLegs
Определения EBrokenLegs.c:2
eBrokenLegs GetBrokenLegs()
Определения PlayerBase.c:3966

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