37 float result = player.GetImmunity() * deltaT;
38 player.ImmuneSystemTick(result, deltaT);
43 if(player.HasDisease())
45 if( player.GetNotifiersManager() ) player.GetNotifiersManager().ActivateByType(
eNotifiers.NTF_SICK);
49 if( player.GetNotifiersManager() ) player.GetNotifiersManager().DeactivateByType(
eNotifiers.NTF_SICK);
58 if( player.HasHealings() )
60 if( player.GetNotifiersManager() )
61 player.GetNotifiersManager().ActivateByType(
eNotifiers.NTF_PILLS);
65 if( player.GetNotifiersManager() )
66 player.GetNotifiersManager().DeactivateByType(
eNotifiers.NTF_PILLS);
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
override bool DeactivateCondition(PlayerBase player)
override void OnReconnect(PlayerBase player)
override void OnActivate(PlayerBase player)
override void OnTick(PlayerBase player, float deltaT)
override bool ActivateCondition(PlayerBase player)