◆ ActivateCondition()
28 {
30 return true;
31
32 return false;
33 }
eAgents
Definition EAgents.c:3
const int AGENT_THRESHOLD_ACTIVATE
Definition Pneumonia.c:3
Перекрестные ссылки AGENT_THRESHOLD_ACTIVATE.
◆ DeactivateCondition()
◆ GetDebugText()
◆ Init()
14 {
20 }
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()
36 {
37 player.IncreaseDiseaseCount();
38
41 }
EStaminaMultiplierTypes
Definition StaminaHandler.c:2
◆ OnDeactivate()
44 {
45 player.DecreaseDiseaseCount();
46
49
51 }
const int TEMPORARY_RESISTANCE_TIME
Definition Pneumonia.c:11
Перекрестные ссылки TEMPORARY_RESISTANCE_TIME.
◆ OnTick()
59 {
61
63
65
67 {
69 }
70 }
const float HEALTH_LOSS_PNEUMONIA
Definition Pneumonia.c:9
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].
static float RandomFloat01()
Returns a random float number between and min [inclusive] and max [inclusive].
Definition EnMath.c:126
Перекрестные ссылки HEALTH_LOSS_PNEUMONIA, Math::RandomFloat01() и Math::RandomInt().
◆ AGENT_THRESHOLD_ACTIVATE
const int AGENT_THRESHOLD_ACTIVATE = 1150 |
|
private |
◆ AGENT_THRESHOLD_DEACTIVATE
const int AGENT_THRESHOLD_DEACTIVATE = 1100 |
|
private |
◆ HEALTH_LOSS_PNEUMONIA
◆ STAMINA_DEPLETION_MULTIPLIER
◆ STAMINA_RECOVERY_MULTIPLIER
◆ TEMPORARY_RESISTANCE_TIME
const int TEMPORARY_RESISTANCE_TIME = 600 |
|
private |
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/PlayerModifiers/Modifiers/diseases/Pneumonia.c