scripts/4_World/Entities/ManBase/PlayerBase.c
// Applies splint on all limbs.
Applies splint on all limbs.
Applies splint on all limbs .
void ApplySplint()
	{
		float add_health_coef = 0.33;
		AddHealth("LeftArm", 	"Health",	( GetMaxHealth("LeftArm", "Health")  - GetHealth("LeftArm", "Health")  ) * add_health_coef 	);
		AddHealth("RightArm",	"Health",	( GetMaxHealth("RightArm", "Health") - GetHealth("RightArm", "Health") ) * add_health_coef 	);
		AddHealth("LeftLeg", 	"Health",	( GetMaxHealth("LeftLeg", "Health")  - GetHealth("LeftLeg", "Health")  ) * add_health_coef 	);
		AddHealth("RightLeg",	"Health",	( GetMaxHealth("RightLeg", "Health") - GetHealth("RightLeg", "Health") ) * add_health_coef 	);
	}
void ApplySplint ( ) { float add_health_coef = 0.33 ; AddHealth ( " " , " " , ( GetMaxHealth ( " " , " " ) - GetHealth ( " " , " " ) ) * add_health_coef ) ; AddHealth ( " " , " " , ( GetMaxHealth ( " " , " " ) - GetHealth ( " " , " " ) ) * add_health_coef ) ; AddHealth ( " " , " " , ( GetMaxHealth ( " " , " " ) - GetHealth ( " " , " " ) ) * add_health_coef ) ; AddHealth ( " " , " " , ( GetMaxHealth ( " " , " " ) - GetHealth ( " " , " " ) ) * add_health_coef ) ; }
Applies splint on all limbs.
Applies splint on all limbs .
// 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.