◆ ActivateCondition()
◆ DeactivateCondition()
35 {
37 }
override bool ActivateCondition(PlayerBase player)
Definition ShockDamage.c:22
Перекрестные ссылки ActivateCondition().
◆ Init()
5 {
10 }
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
float m_TickIntervalActive
Definition ModifierBase.c:18
float m_TickIntervalInactive
Definition ModifierBase.c:17
const int DEFAULT_TICK_TIME_INACTIVE
Definition ModifiersManager.c:29
eModifiers
Definition eModifiers.c:2
Перекрестные ссылки DEFAULT_TICK_TIME_INACTIVE, m_ID, m_TickIntervalActive, m_TickIntervalInactive и m_TrackActivatedTime.
◆ OnActivate()
◆ OnReconnect()
◆ OnTick()
41 {
48
49 }
static const float SHOCK_DAMAGE_LOW
Definition PlayerConstants.c:154
static const float SHOCK_DAMAGE_BLOOD_THRESHOLD_LOW
Definition PlayerConstants.c:151
static const float SHOCK_DAMAGE_HIGH
Definition PlayerConstants.c:153
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 proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
Перекрестные ссылки Math::Clamp(), Math::InverseLerp(), Math::Lerp(), PlayerConstants::SHOCK_DAMAGE_BLOOD_THRESHOLD_HIGH, PlayerConstants::SHOCK_DAMAGE_BLOOD_THRESHOLD_LOW, PlayerConstants::SHOCK_DAMAGE_HIGH и PlayerConstants::SHOCK_DAMAGE_LOW.
◆ UNCONSIOUSS_COOLDOWN_TIME
const int UNCONSIOUSS_COOLDOWN_TIME = 60 |
|
private |
Объявления и описания членов класса находятся в файле:
- D:/Ishodniki/scripts/4_World/Classes/PlayerModifiers/Modifiers/ShockDamage.c