3 const int LIFETIME = 60;
15 override bool ActivateCondition(
PlayerBase player)
25 override string GetDebugText()
32 if (player.GetBrokenLegs() !=
eBrokenLegs.NO_BROKEN_LEGS)
34 player.m_ShockHandler.SetMultiplier(0.1);
37 player.IncreaseHealingsCount();
38 m_Player.m_InjuryHandler.m_ForceInjuryAnimMask =
m_Player.m_InjuryHandler.m_ForceInjuryAnimMask | eInjuryOverrides.MORPHINE;
44 if (player.GetBrokenLegs() !=
eBrokenLegs.NO_BROKEN_LEGS)
45 player.m_ShockHandler.SetMultiplier(1);
47 player.DecreaseHealingsCount();
48 m_Player.m_InjuryHandler.m_ForceInjuryAnimMask =
m_Player.m_InjuryHandler.m_ForceInjuryAnimMask & ~eInjuryOverrides.MORPHINE;
51 override bool DeactivateCondition(
PlayerBase player)
65 override void OnTick(
PlayerBase player,
float deltaT)