◆ ActivateCondition()
31 {
33 {
34 return true;
35 }
36 else
37 {
38 return false;
39 }
40 }
eAgents
Definition EAgents.c:3
static const int AGENT_THRESHOLD_ACTIVATE
Definition WoundInfection2.c:3
Перекрестные ссылки AGENT_THRESHOLD_ACTIVATE.
◆ DeactivateCondition()
63 {
65 {
66 return true;
67 }
68 else
69 {
70 return false;
71 }
72 }
static const int AGENT_THRESHOLD_DEACTIVATE
Definition WoundInfection2.c:4
Перекрестные ссылки AGENT_THRESHOLD_DEACTIVATE.
◆ GetDebugText()
◆ Init()
16 {
23 }
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition Effect.c:49
bool m_TrackActivatedTime
overall time this modifier was active
Definition ModifierBase.c:14
bool m_AnalyticsStatsEnabled
Definition ModifierBase.c:31
eModifierSyncIDs m_SyncID
Definition ModifierBase.c:28
float m_TickIntervalActive
Definition ModifierBase.c:18
float m_TickIntervalInactive
Definition ModifierBase.c:17
eModifierSyncIDs
Definition ModifiersManager.c:3
const int DEFAULT_TICK_TIME_INACTIVE
Definition ModifiersManager.c:29
enum eModifierSyncIDs DEFAULT_TICK_TIME_ACTIVE
eModifiers
Definition eModifiers.c:2
Перекрестные ссылки DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, m_AnalyticsStatsEnabled, m_ID, m_SyncID, m_TickIntervalActive, m_TickIntervalInactive и m_TrackActivatedTime.
◆ OnActivate()
43 {
44 player.IncreaseDiseaseCount();
46
49 {
52 }
53
54 }
Definition UtilityClasses.c:10
static ref Param1< int > PARAM1_INT
Definition UtilityClasses.c:11
float m_NextEvent
Definition WoundInfection2.c:12
static const int PAIN_EVENT_INTERVAL_MIN
Definition WoundInfection2.c:6
static const int PAIN_EVENT_INTERVAL_MAX
Definition WoundInfection2.c:7
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
Definition EnMath.c:106
Перекрестные ссылки m_NextEvent, PAIN_EVENT_INTERVAL_MAX, PAIN_EVENT_INTERVAL_MIN, CachedObjectsParams::PARAM1_INT и Math::RandomFloatInclusive().
◆ OnDeactivate()
57 {
58 player.DecreaseDiseaseCount();
59 player.GetSymptomManager().RemoveSecondarySymptom(
SymptomIDs.SYMPTOM_HAND_SHIVER);
60 }
◆ OnTick()
◆ AGENT_THRESHOLD_ACTIVATE
const int AGENT_THRESHOLD_ACTIVATE = 250 |
|
staticprivate |
◆ AGENT_THRESHOLD_DEACTIVATE
const int AGENT_THRESHOLD_DEACTIVATE = 0 |
|
staticprivate |
◆ DAMAGE_PER_SEC
◆ m_NextEvent
◆ m_Time
◆ PAIN_EVENT_INTERVAL_MAX
◆ PAIN_EVENT_INTERVAL_MIN
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/PlayerModifiers/Modifiers/diseases/WoundInfection2.c