3 static const int AGENT_THRESHOLD_ACTIVATE = 100;
4 static const int AGENT_THRESHOLD_DEACTIVATE = 400;
6 static const int EVENT_1_INTERVAL_MIN = 20;
7 static const int EVENT_1_INTERVAL_MAX = 40;
40 player.IncreaseDiseaseCount();
41 m_NextEvent1 =
Math.RandomFloatInclusive( EVENT_1_INTERVAL_MIN, EVENT_1_INTERVAL_MAX );
47 player.DecreaseDiseaseCount();
64 player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_COUGH);
66 m_NextEvent1 =
Math.RandomFloatInclusive( EVENT_1_INTERVAL_MIN, EVENT_1_INTERVAL_MAX );
70 player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_VOMIT);
bool DeactivateCondition(PlayerBase player)
static const int EVENT_2_INTERVAL_MIN
void OnDeactivate(PlayerBase player)
void OnActivate(PlayerBase player)
static const int EVENT_2_INTERVAL_MAX
bool ActivateCondition(PlayerBase player)
override string GetDebugText()
void OnTick(PlayerBase player, float deltaT)
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
bool m_AnalyticsStatsEnabled
eModifierSyncIDs m_SyncID
float m_TickIntervalActive
float m_TickIntervalInactive
const int DEFAULT_TICK_TIME_INACTIVE
enum eModifierSyncIDs DEFAULT_TICK_TIME_ACTIVE