DayZ 1.24
|
Private Member Functions | |
override void | Init () |
override void | OnActivate (PlayerBase player) |
override void | OnReconnect (PlayerBase player) |
override bool | ActivateCondition (PlayerBase player) |
override bool | DeactivateCondition (PlayerBase player) |
override void | OnTick (PlayerBase player, float deltaT) |
Private Attributes | |
const int | UNCONSIOUSS_COOLDOWN_TIME = 60 |
Definition at line 1 of file ShockDamage.c.
|
inlineprivate |
Definition at line 22 of file ShockDamage.c.
References GetGame(), GetTime(), PlayerConstants::SHOCK_DAMAGE_BLOOD_THRESHOLD_HIGH, and UNCONSIOUSS_COOLDOWN_TIME.
Referenced by DeactivateCondition().
|
inlineprivate |
Definition at line 30 of file ShockDamage.c.
References ActivateCondition().
Definition at line 4 of file ShockDamage.c.
References DEFAULT_TICK_TIME_INACTIVE, m_ID, m_TickIntervalActive, m_TickIntervalInactive, and m_TrackActivatedTime.
|
inlineprivate |
Definition at line 12 of file ShockDamage.c.
|
inlineprivate |
Definition at line 17 of file ShockDamage.c.
|
inlineprivate |
Definition at line 36 of file ShockDamage.c.
References Math::Clamp(), Math::InverseLerp(), Math::Lerp(), PlayerConstants::SHOCK_DAMAGE_BLOOD_THRESHOLD_HIGH, PlayerConstants::SHOCK_DAMAGE_BLOOD_THRESHOLD_LOW, PlayerConstants::SHOCK_DAMAGE_HIGH, and PlayerConstants::SHOCK_DAMAGE_LOW.
Definition at line 3 of file ShockDamage.c.
Referenced by ActivateCondition().