DayZ 1.24
|
Private Member Functions | |
override void | Init () |
override bool | ActivateCondition (PlayerBase player) |
override bool | DeactivateCondition (PlayerBase player) |
override void | OnActivate (PlayerBase player) |
override void | OnDeactivate (PlayerBase player) |
float | GetRefillSpeed (PlayerBase player) |
override void | OnTick (PlayerBase player, float deltaT) |
override void | OnReconnect (PlayerBase player) |
Private Attributes | |
const float | UNCONSCIOUS_LIMIT = 50 |
const float | SHOCK_INCREMENT_PER_SEC = 1 |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 33 of file Shock.c.
References CfgGameplayHandler::GetShockRefillSpeedConscious(), and CfgGameplayHandler::GetShockRefillSpeedUnconscious().
Referenced by OnTick().
Definition at line 6 of file Shock.c.
References DisableDeactivateCheck(), m_ID, m_TickIntervalActive, and m_TickIntervalInactive.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 46 of file Shock.c.
References CfgGameplayHandler::GetAllowRefillSpeedModifier(), GetGame(), GetRefillSpeed(), GetTime(), and PlayerConstants::SHOCK_REFILL_COOLDOWN_AFTER_HIT.