3 const int UNCONSIOUSS_COOLDOWN_TIME = 60;
13 override bool ActivateCondition(
PlayerBase player)
15 if( player.GetHealth(
"",
"Shock") <=
PlayerConstants.UNCONSCIOUS_THRESHOLD )
29 player.m_UnconsciousEndTime =
GetGame().GetTime();
33 override string GetDebugText()
35 string text_pulse =
"pulse type:"+
m_Player.GetPulseType()+
"|";
37 string debug_text = text_pulse + text_shock;
45 override bool DeactivateCondition(
PlayerBase player)
54 override void OnTick(
PlayerBase player,
float deltaT)