◆ ActivateCondition()
30 {
32 return true;
33
34 return false;
35 }
eAgents
Definition EAgents.c:3
const int AGENT_THRESHOLD_ACTIVATE
Definition CommonCold.c:3
Перекрестные ссылки AGENT_THRESHOLD_ACTIVATE.
◆ DeactivateCondition()
◆ GetDebugText()
◆ Init()
16 {
22 }
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
float m_TickIntervalActive
Definition ModifierBase.c:18
float m_TickIntervalInactive
Definition ModifierBase.c:17
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_TickIntervalActive, m_TickIntervalInactive и m_TrackActivatedTime.
◆ OnActivate()
38 {
39 player.IncreaseDiseaseCount();
40
43 }
ModifiersManager m_ModifiersManager
Definition CommonCold.c:13
Перекрестные ссылки m_ModifiersManager.
◆ OnDeactivate()
46 {
47 player.DecreaseDiseaseCount();
48
50 }
const int TEMPORARY_RESISTANCE_TIME
Definition CommonCold.c:11
Перекрестные ссылки TEMPORARY_RESISTANCE_TIME.
◆ OnTick()
58 {
60
64
66 {
68 }
69 }
const int SNEEZE_RND_DIVIDER_SUPPRESSED_MAX
Definition CommonCold.c:9
const int SNEEZE_RND_DIVIDER_NORMAL_MIN
Definition CommonCold.c:6
const int SNEEZE_RND_DIVIDER_SUPPRESSED_MIN
Definition CommonCold.c:8
const int SNEEZE_RND_DIVIDER_NORMAL_MAX
Definition CommonCold.c:7
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
static float RandomFloat01()
Returns a random float number between and min [inclusive] and max [inclusive].
Definition EnMath.c:126
Перекрестные ссылки Math::Clamp(), m_ModifiersManager, Math::RandomFloat01(), Math::RandomInt(), SNEEZE_RND_DIVIDER_NORMAL_MAX, SNEEZE_RND_DIVIDER_NORMAL_MIN, SNEEZE_RND_DIVIDER_SUPPRESSED_MAX и SNEEZE_RND_DIVIDER_SUPPRESSED_MIN.
◆ AGENT_THRESHOLD_ACTIVATE
const int AGENT_THRESHOLD_ACTIVATE = 100 |
|
private |
◆ AGENT_THRESHOLD_DEACTIVATE
const int AGENT_THRESHOLD_DEACTIVATE = 0 |
|
private |
◆ m_ModifiersManager
◆ SNEEZE_RND_DIVIDER_NORMAL_MAX
const int SNEEZE_RND_DIVIDER_NORMAL_MAX = 20 |
|
private |
◆ SNEEZE_RND_DIVIDER_NORMAL_MIN
const int SNEEZE_RND_DIVIDER_NORMAL_MIN = 15 |
|
private |
◆ SNEEZE_RND_DIVIDER_SUPPRESSED_MAX
const int SNEEZE_RND_DIVIDER_SUPPRESSED_MAX = 40 |
|
private |
◆ SNEEZE_RND_DIVIDER_SUPPRESSED_MIN
const int SNEEZE_RND_DIVIDER_SUPPRESSED_MIN = 30 |
|
private |
◆ TEMPORARY_RESISTANCE_TIME
const int TEMPORARY_RESISTANCE_TIME = 900 |
|
private |
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/PlayerModifiers/Modifiers/diseases/CommonCold.c