3 static const int AGENT_THRESHOLD_ACTIVATE = 100;
4 static const int AGENT_THRESHOLD_DEACTIVATE = 20;
8 Error(
"[ERROR] :: WoundInfectionMdfr is deprecated.");
15 static const int AGENT_THRESHOLD_DEACTIVATE = 250;
16 static const int AGENT_THRESHOLD_FEVER = 250;
18 static const int PAIN_EVENT_INTERVAL_MIN = 18;
19 static const int PAIN_EVENT_INTERVAL_MAX = 26;
46 player.IncreaseDiseaseCount();
47 player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_PAIN_LIGHT);
49 m_NextEvent =
Math.RandomFloatInclusive(PAIN_EVENT_INTERVAL_MIN, PAIN_EVENT_INTERVAL_MAX);
54 player.DecreaseDiseaseCount();
62 override protected void OnTick(
PlayerBase player,
float deltaT)
68 player.GetSymptomManager().QueueUpPrimarySymptom(SymptomIDs.SYMPTOM_PAIN_LIGHT);
70 m_NextEvent =
Math.RandomFloatInclusive(PAIN_EVENT_INTERVAL_MIN, PAIN_EVENT_INTERVAL_MAX);
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
void Error(string err)
Messagebox with error message.
bool m_TrackActivatedTime
overall time this modifier was active
bool ActivateCondition(PlayerBase player)
bool DeactivateCondition(PlayerBase player)
bool m_AnalyticsStatsEnabled
eModifierSyncIDs m_SyncID
float m_TickIntervalActive
float m_TickIntervalInactive
void OnDeactivate(PlayerBase player)
const int DEFAULT_TICK_TIME_INACTIVE
enum eModifierSyncIDs DEFAULT_TICK_TIME_ACTIVE