21 return (player.GetModifiersManager().IsModifierActive(
eModifiers.MDF_CHOLERA) || player.GetModifiersManager().IsModifierActive(
eModifiers.MDF_INFLUENZA) || player.GetModifiersManager().IsModifierActive(
eModifiers.MDF_WOUND_INFECTION2));
26 if( player.m_NotifiersManager )
27 player.m_NotifiersManager.ActivateByType(
eNotifiers.NTF_FEVERISH);
29 player.GetSymptomManager().QueueUpSecondarySymptom(SymptomIDs.SYMPTOM_FEVERBLUR);
40 if( player.m_NotifiersManager )
41 player.m_NotifiersManager.DeactivateByType(
eNotifiers.NTF_FEVERISH);
42 player.GetSymptomManager().RemoveSecondarySymptom(SymptomIDs.SYMPTOM_FEVERBLUR);
54 player.GetStatWater().Add(-water_loss);
63 player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_HOT);
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
bool m_AnalyticsStatsEnabled
eModifierSyncIDs m_SyncID
float m_TickIntervalActive
float m_TickIntervalInactive
const int DEFAULT_TICK_TIME_INACTIVE
const int DEFAULT_TICK_TIME_ACTIVE_SHORT
override void OnActivate(PlayerBase player)
override void OnReconnect(PlayerBase player)
override bool ActivateCondition(PlayerBase player)
override void OnDeactivate(PlayerBase player)
override bool DeactivateCondition(PlayerBase player)
static const float EVENT_INTERVAL_MIN
static const float EVENT_INTERVAL_MAX
override void OnTick(PlayerBase player, float deltaT)
static const float WATER_LOSS_FEVER
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].