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

◆ ApplySplint()

void ManBase::ApplySplint ( )
inlineprotected

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

2245 {
2246 float add_health_coef = 0.33;
2247 // 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.
2248 if (GetBrokenLegs() == eBrokenLegs.BROKEN_LEGS)
2249 {
2250 AddHealth("LeftLeg", "Health", (GetMaxHealth("LeftLeg", "Health") - GetHealth("LeftLeg", "Health") ) * add_health_coef );
2251 AddHealth("RightLeg", "Health", (GetMaxHealth("RightLeg", "Health") - GetHealth("RightLeg", "Health")) * add_health_coef );
2252 AddHealth("RightFoot", "Health", (GetMaxHealth("RightFoot", "Health") - GetHealth("RightFoot", "Health")) * add_health_coef );
2253 AddHealth("LeftFoot", "Health", (GetMaxHealth("LeftFoot", "Health") - GetHealth("LeftFoot", "Health")) * add_health_coef );
2254 }
2255 }
eBrokenLegs
Определения EBrokenLegs.c:2
eBrokenLegs GetBrokenLegs()
Определения PlayerBase.c:3696

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