36 float regen_speed = player.GetHealthRegenSpeed() * deltaT;;
37 player.AddHealth(
"GlobalHealth",
"Health" , regen_speed );
45 if ( player.GetBrokenLegs() ==
eBrokenLegs.NO_BROKEN_LEGS )
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
bool m_TrackActivatedTime
overall time this modifier was active
void DisableDeactivateCheck()
float m_TickIntervalActive
float m_TickIntervalInactive
const int DEFAULT_TICK_TIME_INACTIVE
enum eModifierSyncIDs DEFAULT_TICK_TIME_ACTIVE
override bool ActivateCondition(PlayerBase player)
override bool DeactivateCondition(PlayerBase player)
override void OnActivate(PlayerBase player)
override void OnTick(PlayerBase player, float deltaT)
override void OnReconnect(PlayerBase player)
static const float DAMAGE_ZONE_BLOOD_REGEN_MODIFIER
static const float LEG_HEALTH_REGEN_BROKEN
static const float LEG_HEALTH_REGEN