3 const int UNCONSIOUSS_COOLDOWN_TIME = 60;
14 override bool ActivateCondition(
PlayerBase player)
16 if( player.GetHealth(
"",
"Shock") <=
PlayerConstants.UNCONSCIOUS_THRESHOLD )
34 override string GetDebugText()
36 string text_pulse =
"pulse type:"+
m_Player.GetPulseType()+
"|";
38 string debug_text = text_pulse + text_shock;
46 override bool DeactivateCondition(
PlayerBase player)
55 override void OnTick(
PlayerBase player,
float deltaT)
proto int GetTime()
returns mission time in milliseconds
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
proto native CGame GetGame()
bool m_TrackActivatedTime
overall time this modifier was active
bool m_AnalyticsStatsEnabled
float m_TickIntervalActive
float m_TickIntervalInactive