Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
WoundAgent Class Reference
Inheritance diagram for WoundAgent:
AgentBase

Private Member Functions

override float GetAntibioticsResistanceEx (PlayerBase player)
override bool GrowDuringMedicalDrugsAttack (EMedicalDrugsType drugType, PlayerBase player)
override void Init ()
Private Member Functions inherited from AgentBase
void AgentBase ()
 how fast the agent dies off when not potent enough to grow(per sec)
bool AutoinfectCheck (float deltaT, PlayerBase player)
float CalculateAutoinfectProbability (float userprob)
bool CanAutoinfectPlayer (PlayerBase player)
int GetAgentType ()
float GetAntibioticsResistanceEx (PlayerBase player)
float GetAntiboticsResistance ()
int GetAutoinfectCount ()
float GetDieOffSpeed ()
float GetDieOffSpeedEx (PlayerBase player)
float GetDigestibility ()
float GetDigestibilityEx (PlayerBase player)
float GetDrugResistance (EMedicalDrugsType drugType, PlayerBase player)
float GetInvasibility ()
float GetInvasibilityEx (PlayerBase player)
int GetMaxCount ()
string GetName ()
EStatLevels GetPotency ()
EStatLevels GetPotencyEx (PlayerBase player)
float GetTransferabilityAirOut ()
float GetTransferabilityIn ()
float GetTransferabilityOut ()
bool GrowDuringAntibioticsAttack (PlayerBase player)
 DEPRECATED.
bool GrowDuringMedicalDrugsAttack (EMedicalDrugsType drugType, PlayerBase player)
 should this agent grow based on invasibility even during usage of specific medical drugs attack
void Init ()
void InitDefaults ()

Static Private Attributes

static const float RESISTANCE_STAGE_1 = 1
static const float RESISTANCE_STAGE_2 = 0.5

Additional Inherited Members

Private Attributes inherited from AgentBase
float m_DieOffSpeed = 1
 grow when player's immune system is at this level or lower
ref map< EMedicalDrugsType, floatm_DrugResistances = new map<EMedicalDrugsType, float>()
 [0..1], 0 means antibiotics have full effect, 1 means no effect - deprecated, use the m_DrugResistance map below for drug resistances
EStatLevels m_Potency = EStatLevels.MEDIUM

Detailed Description

Definition at line 1 of file woundagent.c.

Member Function Documentation

◆ GetAntibioticsResistanceEx()

override float GetAntibioticsResistanceEx ( PlayerBase player)
inlineprivate

Definition at line 19 of file woundagent.c.

References RESISTANCE_STAGE_1, and RESISTANCE_STAGE_2.

◆ GrowDuringMedicalDrugsAttack()

override bool GrowDuringMedicalDrugsAttack ( EMedicalDrugsType drugType,
PlayerBase player )
inlineprivate

Definition at line 27 of file woundagent.c.

◆ Init()

Field Documentation

◆ RESISTANCE_STAGE_1

const float RESISTANCE_STAGE_1 = 1
staticprivate

Definition at line 3 of file woundagent.c.

Referenced by GetAntibioticsResistanceEx().

◆ RESISTANCE_STAGE_2

const float RESISTANCE_STAGE_2 = 0.5
staticprivate

Definition at line 4 of file woundagent.c.

Referenced by GetAntibioticsResistanceEx().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/transmissionagents/agents/woundagent.c