![]() |
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 | GetRegenModifierEnergy (float energy) |
| float | GetRegenModifierWater (float water) |
| override void | Init () |
| override void | OnActivate (PlayerBase player) |
| override void | OnTick (PlayerBase player, float deltaT) |
Definition at line 1 of file bloodregen.c.
|
inlineprivate |
Definition at line 11 of file bloodregen.c.
|
inlineprivate |
Definition at line 29 of file bloodregen.c.
Definition at line 77 of file bloodregen.c.
References PlayerConstants::BLOOD_REGEN_MODIFIER_ENERGY_HIGH, PlayerConstants::BLOOD_REGEN_MODIFIER_ENERGY_LOW, and PlayerConstants::BLOOD_REGEN_MODIFIER_ENERGY_MID.
Referenced by OnTick().
Definition at line 61 of file bloodregen.c.
References PlayerConstants::BLOOD_REGEN_MODIFIER_WATER_HIGH, PlayerConstants::BLOOD_REGEN_MODIFIER_WATER_LOW, and PlayerConstants::BLOOD_REGEN_MODIFIER_WATER_MID.
Referenced by OnTick().
|
inlineprivate |
Definition at line 3 of file bloodregen.c.
References DEFAULT_TICK_TIME_ACTIVE, DEFAULT_TICK_TIME_INACTIVE, m_ID, m_TickIntervalActive, m_TickIntervalInactive, and m_TrackActivatedTime.
|
inlineprivate |
Definition at line 24 of file bloodregen.c.
|
inlineprivate |
Definition at line 42 of file bloodregen.c.
References PlayerConstants::BLOOD_REGEN_RATE_PER_SEC, GetRegenModifierEnergy(), GetRegenModifierWater(), PlayerConstants::SL_BLOOD_CRITICAL, and PlayerConstants::UNCONSCIOUS_BLOOD_REGEN_MLTP.