◆ ActivateCondition()
30 {
32 return true;
33
34 return false;
35 }
eAgents
Definition EAgents.c:3
const int AGENT_THRESHOLD_ACTIVATE
Definition Influenza.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
42 }
ModifiersManager m_ModifiersManager
Definition Influenza.c:13
Перекрестные ссылки m_ModifiersManager.
◆ OnDeactivate()
◆ OnTick()
57 {
59
63
65 {
67 }
68 }
const int COUGH_RND_DIVIDER_SUPPRESSED_MAX
Definition Influenza.c:9
const int COUGH_RND_DIVIDER_NORMAL_MAX
Definition Influenza.c:7
const int COUGH_RND_DIVIDER_SUPPRESSED_MIN
Definition Influenza.c:8
const int COUGH_RND_DIVIDER_NORMAL_MIN
Definition Influenza.c:6
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(), COUGH_RND_DIVIDER_NORMAL_MAX, COUGH_RND_DIVIDER_NORMAL_MIN, COUGH_RND_DIVIDER_SUPPRESSED_MAX, COUGH_RND_DIVIDER_SUPPRESSED_MIN, m_ModifiersManager, Math::RandomFloat01() и Math::RandomInt().
◆ AGENT_THRESHOLD_ACTIVATE
const int AGENT_THRESHOLD_ACTIVATE = 600 |
|
private |
◆ AGENT_THRESHOLD_DEACTIVATE
const int AGENT_THRESHOLD_DEACTIVATE = 400 |
|
private |
◆ COUGH_RND_DIVIDER_NORMAL_MAX
const int COUGH_RND_DIVIDER_NORMAL_MAX = 20 |
|
private |
◆ COUGH_RND_DIVIDER_NORMAL_MIN
const int COUGH_RND_DIVIDER_NORMAL_MIN = 5 |
|
private |
◆ COUGH_RND_DIVIDER_SUPPRESSED_MAX
const int COUGH_RND_DIVIDER_SUPPRESSED_MAX = 40 |
|
private |
◆ COUGH_RND_DIVIDER_SUPPRESSED_MIN
const int COUGH_RND_DIVIDER_SUPPRESSED_MIN = 10 |
|
private |
◆ m_ModifiersManager
◆ TEMPORARY_RESISTANCE_TIME
const int TEMPORARY_RESISTANCE_TIME = 300 |
|
private |
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/PlayerModifiers/Modifiers/diseases/Influenza.c