DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс HeavyMetalAgent
+ Граф наследования:HeavyMetalAgent:

Закрытые члены

override void Init ()
 
override bool GrowDuringMedicalDrugsAttack (EMedicalDrugsType drugType, PlayerBase player)
 
override float GetInvasibilityEx (PlayerBase player)
 
override EStatLevels GetPotencyEx (PlayerBase player)
 
override float GetDieOffSpeedEx (PlayerBase player)
 

Подробное описание

Методы

◆ GetDieOffSpeedEx()

override float GetDieOffSpeedEx ( PlayerBase player)
inlineprivate
44 {
45 if( player.GetModifiersManager().IsModifierActive(eModifiers.MDF_CHELATION))
46 {
47 return GetDieOffSpeed() * 0.3 ;
48 }
49 else
50 {
51 return super.GetDieOffSpeedEx(player);
52 }
53 }
float GetDieOffSpeed()
Definition AgentBase.c:49
Definition EntityAI.c:95
eModifiers
Definition eModifiers.c:2

Перекрестные ссылки AgentBase::GetDieOffSpeed().

◆ GetInvasibilityEx()

override float GetInvasibilityEx ( PlayerBase player)
inlineprivate
22 {
23 if (player.GetModifiersManager().IsModifierActive(eModifiers.MDF_HEAVYMETAL3))
24 return 0;
25
26 return player.GetStomach().GetVolumeContainingAgent01(eAgents.HEAVYMETAL);
27 }
eAgents
Definition EAgents.c:3

◆ GetPotencyEx()

override EStatLevels GetPotencyEx ( PlayerBase player)
inlineprivate
30 {
31 if (player.GetModifiersManager().IsModifierActive(eModifiers.MDF_CHELATION))
32 return EStatLevels.LOW;
33
34 if (player.GetModifiersManager().IsModifierActive(eModifiers.MDF_HEAVYMETAL3))
35 return EStatLevels.GREAT;
36
37 if (player.GetStomach().GetVolumeContainingAgent01(eAgents.HEAVYMETAL) > 0.0)
38 return EStatLevels.GREAT;
39
40 return m_Potency;
41 }
EStatLevels
Definition EStatLevels.c:2
EStatLevels m_Potency
Definition AgentBase.c:14

Перекрестные ссылки AgentBase::m_Potency.

◆ GrowDuringMedicalDrugsAttack()

override bool GrowDuringMedicalDrugsAttack ( EMedicalDrugsType drugType,
PlayerBase player )
inlineprivate
14 {
15 if (drugType == EMedicalDrugsType.CHELATION)
16 return false;
17
18 return super.GrowDuringMedicalDrugsAttack(drugType, player);
19 }
EMedicalDrugsType
Definition EMedicalDrugsType.c:2

◆ Init()

override void Init ( )
inlineprivate
4 {
5 m_Type = eAgents.HEAVYMETAL;
9 m_MaxCount = 600;
10 m_Potency = EStatLevels.MEDIUM;
11 }
float m_TransferabilityOut
Definition AgentBase.c:6
float m_TransferabilityIn
Definition AgentBase.c:5
int m_MaxCount
Definition AgentBase.c:8
float m_Type
Definition AgentBase.c:3
float m_AntibioticsResistance
Definition AgentBase.c:12

Перекрестные ссылки AgentBase::m_AntibioticsResistance, AgentBase::m_MaxCount, AgentBase::m_Potency, AgentBase::m_TransferabilityIn, AgentBase::m_TransferabilityOut и AgentBase::m_Type.


Объявления и описания членов класса находятся в файле: