![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Private Member Functions | |
| override bool | ActivateCondition (PlayerBase player) |
| override bool | DeactivateCondition (PlayerBase player) |
| float | GetRefillSpeed (PlayerBase player) |
| override void | Init () |
| override void | OnActivate (PlayerBase player) |
| override void | OnDeactivate (PlayerBase player) |
| override void | OnReconnect (PlayerBase player) |
| override void | OnTick (PlayerBase player, float deltaT) |
Private Attributes | |
| const float | SHOCK_INCREMENT_PER_SEC = 1 |
| const float | UNCONSCIOUS_LIMIT = 50 |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 33 of file shock.c.
References CfgGameplayHandler::GetShockRefillSpeedConscious(), CfgGameplayHandler::GetShockRefillSpeedUnconscious(), PlayerConstants::SHOCK_REFILL_UNCON_CRITICAL_BLOOD_MLTP, and PlayerConstants::SL_BLOOD_CRITICAL.
Referenced by OnTick().
|
inlineprivate |
Definition at line 6 of file shock.c.
References DisableDeactivateCheck(), m_ID, m_TickIntervalActive, and m_TickIntervalInactive.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 61 of file shock.c.
References g_Game, CfgGameplayHandler::GetAllowRefillSpeedModifier(), GetRefillSpeed(), and PlayerConstants::SHOCK_REFILL_COOLDOWN_AFTER_HIT.