37 if (
player.IsUnconscious())
51 if (!
player.IsUnconscious())
52 player.m_UnconRefillModifier = 1;
54 if (
player.GetHealth01(
"",
"Shock") == 1)
58 player.m_UnconRefillModifier = 1;
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
void DisableDeactivateCheck()
float m_TickIntervalActive
float m_TickIntervalInactive
static float GetShockRefillSpeedUnconscious()
static bool GetAllowRefillSpeedModifier()
static float GetShockRefillSpeedConscious()
static const float SHOCK_REFILL_COOLDOWN_AFTER_HIT
override void OnDeactivate(PlayerBase player)
const float UNCONSCIOUS_LIMIT
override bool ActivateCondition(PlayerBase player)
const float SHOCK_INCREMENT_PER_SEC
float GetRefillSpeed(PlayerBase player)
override bool DeactivateCondition(PlayerBase player)
override void OnTick(PlayerBase player, float deltaT)
override void OnReconnect(PlayerBase player)
override void OnActivate(PlayerBase player)
DayZPlayerConstants
defined in C++
proto native CGame GetGame()