62 {
63
64 if (
GetGame().
GetTime() > player.m_LastShockHitTime + PlayerConstants.SHOCK_REFILL_COOLDOWN_AFTER_HIT && player.GetPulseType() ==
EPulseType.REGULAR)
65 {
66 if (!player.IsUnconscious())
67 player.m_UnconRefillModifier = 1;
68
69 if (player.GetHealth01("","Shock") == 1)
70 return;
71
72 if ( !CfgGameplayHandler.GetAllowRefillSpeedModifier() )
73 player.m_UnconRefillModifier = 1;
74
76 }
77 }
float GetRefillSpeed(PlayerBase player)
proto native CGame GetGame()