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

◆ ApplySplint()

void ManBase::ApplySplint ( )
inlineprotected

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

2113 {
2114 float add_health_coef = 0.33;
2115 // 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.
2116 if (GetBrokenLegs() == eBrokenLegs.BROKEN_LEGS)
2117 {
2118 AddHealth("LeftLeg", "Health", (GetMaxHealth("LeftLeg", "Health") - GetHealth("LeftLeg", "Health") ) * add_health_coef );
2119 AddHealth("RightLeg", "Health", (GetMaxHealth("RightLeg", "Health") - GetHealth("RightLeg", "Health")) * add_health_coef );
2120 AddHealth("RightFoot", "Health", (GetMaxHealth("RightFoot", "Health") - GetHealth("RightFoot", "Health")) * add_health_coef );
2121 AddHealth("LeftFoot", "Health", (GetMaxHealth("LeftFoot", "Health") - GetHealth("LeftFoot", "Health")) * add_health_coef );
2122 }
2123 }
eBrokenLegs
Определения EBrokenLegs.c:2
eBrokenLegs GetBrokenLegs()
Определения PlayerBase.c:3559

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