Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
nerveagent.c
Go to the documentation of this file.
1class NerveAgent extends AgentBase
2{
3 override void Init()
4 {
5 m_Type = eAgents.NERVE_AGENT;
10 m_AntibioticsResistance = 0.5;//override in a func. GetAntiboticsResistance()
11 m_MaxCount = 500;
12 m_Potency = EStatLevels.CRITICAL;
13 m_DieOffSpeed = 0.1;
14
15 m_DrugResistances.Set(EMedicalDrugsType.ANTIBIOTICS, 0.5);
16 }
17
18
19
20}
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
float m_TransferabilityAirOut
Definition agentbase.c:11
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 nerveagent.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