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

◆ ApplySplint()

void ManBase::ApplySplint ( )
inlineprotected

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

2122 {
2123 float add_health_coef = 0.33;
2124 // 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.
2125 if (GetBrokenLegs() == eBrokenLegs.BROKEN_LEGS)
2126 {
2127 AddHealth("LeftLeg", "Health", (GetMaxHealth("LeftLeg", "Health") - GetHealth("LeftLeg", "Health") ) * add_health_coef );
2128 AddHealth("RightLeg", "Health", (GetMaxHealth("RightLeg", "Health") - GetHealth("RightLeg", "Health")) * add_health_coef );
2129 AddHealth("RightFoot", "Health", (GetMaxHealth("RightFoot", "Health") - GetHealth("RightFoot", "Health")) * add_health_coef );
2130 AddHealth("LeftFoot", "Health", (GetMaxHealth("LeftFoot", "Health") - GetHealth("LeftFoot", "Health")) * add_health_coef );
2131 }
2132 }
eBrokenLegs
Определения EBrokenLegs.c:2
eBrokenLegs GetBrokenLegs()
Определения PlayerBase.c:3577

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