24 float blood = player.GetHealth(
"",
"Blood");
36 player.SetHealth(
"",
"",-1000);
protected int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
bool m_TrackActivatedTime
void DisableDeactivateCheck()
float m_TickIntervalActive
float m_TickIntervalInactive
const int DEFAULT_TICK_TIME_INACTIVE
const int DEFAULT_TICK_TIME_ACTIVE
PluginBase GetPlugin(typename plugin_type)
override bool DeactivateCondition(PlayerBase player)
override void OnActivate(PlayerBase player)
PluginAdminLog m_AdminLog
override void OnTick(PlayerBase player, float deltaT)
override bool ActivateCondition(PlayerBase player)
override void OnDeactivate(PlayerBase player)
protected const float BLOOD_DECREMENT_PER_SEC
static const int BLOOD_THRESHOLD_FATAL
proto native CGame GetGame()