Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
choleraagent.c
Go to the documentation of this file.
1class CholeraAgent extends AgentBase
2{
3 override void Init()
4 {
5 m_Type = eAgents.CHOLERA;
6 m_Invasibility = 0.15;
9 m_AntibioticsResistance = 0; //deprecated, use m_DrugResistances to initialize this agents resistance to a given drug, as seen on lines 13 and 14
10 m_MaxCount = 1000;
12 m_DieOffSpeed = 0.45;
13 m_DrugResistances.Set(EMedicalDrugsType.ANTIBIOTICS, 0.0);
14 }
15}
float m_TransferabilityOut
to the player
Definition agentbase.c:6
float m_TransferabilityIn
how fast the agent grows when potent enough to grow
Definition agentbase.c:5
int m_MaxCount
multiplier for agents digested in the player stomach from an infected item(agents_transfered = digest...
Definition agentbase.c:8
override void Init()
Definition choleraagent.c:3
float m_DieOffSpeed
grow when player's immune system is at this level or lower
Definition agentbase.c:17
float m_Type
Definition agentbase.c:3
float m_Invasibility
Definition agentbase.c:4
EStatLevels m_Potency
Definition agentbase.c:16
float m_AntibioticsResistance
transferibility airborne out
Definition agentbase.c:12
ref map< EMedicalDrugsType, float > m_DrugResistances
[0..1], 0 means antibiotics have full effect, 1 means no effect - deprecated, use the m_DrugResistanc...
Definition agentbase.c:14
eAgents
Definition eagents.c:3
EMedicalDrugsType
EStatLevels
Definition estatlevels.c:2