4 private float m_NextEvent;
6 static const float FATIGUE_EVENT_INTERVAL_MIN = 5;
7 static const float FATIGUE_EVENT_INTERVAL_MAX = 12;
8 static const float STAMINA_RECOVERY_MULTIPLIER = 0.33;
9 static const float STAMINA_DEPLETION_MULTIPLIER = 1.33;
19 override bool ActivateCondition(
PlayerBase player)
21 return (player.GetModifiersManager().IsModifierActive(
eModifiers.MDF_WOUND_INFECTION1) || player.GetModifiersManager().IsModifierActive(
eModifiers.MDF_POISONING) || player.GetModifiersManager().IsModifierActive(
eModifiers.MDF_WOUND_INFECTION2));
26 if( player.m_NotifiersManager )
27 player.m_NotifiersManager.ActivateByType(
eNotifiers.NTF_FEVERISH);
38 this.OnActivate(player);
50 override bool DeactivateCondition(
PlayerBase player)
52 return !ActivateCondition(player);
55 override void OnTick(
PlayerBase player,
float deltaT)