DIFF

class CholeraMdfrSource

CholeraMdfr ModifierBase

All members, including inherited

Constants 9

static const int AGENT_THRESHOLD_ACTIVATE = 250
static const int AGENT_THRESHOLD_DEACTIVATE = 50
static const int CHANCE_OF_VOMIT = 10
Referenced by OnTick()
static const int CHANCE_OF_VOMIT_AGENT = 30
Referenced by OnTick()
static const int WATER_DRAIN_FROM_VOMIT = 450
Referenced by OnTick()
static const int ENERGY_DRAIN_FROM_VOMIT = 310
Referenced by OnTick()
static const float WATER_LOSS_CHOLERA = 0.5
Referenced by OnTick()
static const float WATER_LOSS_CHOLERA_MIN = 0.1

min multiplier of WATER_LOSS_CHOLERA

Referenced by OnTick()
static const float STOMACH_MIN_VOLUME = 200

for vomit symptom

Referenced by OnTick()

Members 2

private float m_ExhaustionTimer
Referenced by OnDeactivate(), and OnTick()
private bool m_Exhaustion
Referenced by OnDeactivate(), and OnTick()

Methods 7

override string GetDebugText()
override protected bool ActivateCondition(PlayerBase player)
override protected bool DeactivateCondition(PlayerBase player)