Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
BoneRegenMdfr Class Reference
Inheritance diagram for BoneRegenMdfr:
ModifierBase

Private Member Functions

override bool ActivateCondition (PlayerBase player)
override bool DeactivateCondition (PlayerBase player)
override void Init ()
override void OnActivate (PlayerBase player)
override void OnTick (PlayerBase player, float deltaT)

Private Attributes

const float BONE_HEALTH_INCREMENT_PER_SEC = 0.25
const float MINIMAL_BLOOD_REQUIRED_TO_REGENERATE_HEALTH = 5000
const float MINIMAL_BLOOD_TO_REGENRATE = 5000
const float MINIMAL_ENERGY_TO_REGENRATE = 4000
const float MINIMAL_WATER_TO_REGENRATE = 2500

Detailed Description

Definition at line 1 of file boneregen.c.

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprivate

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprivate

◆ Init()

override void Init ( )
inlineprivate

◆ OnActivate()

override void OnActivate ( PlayerBase player)
inlineprivate

Definition at line 29 of file boneregen.c.

◆ OnTick()

override void OnTick ( PlayerBase player,
float deltaT )
inlineprivate

Definition at line 45 of file boneregen.c.

Field Documentation

◆ BONE_HEALTH_INCREMENT_PER_SEC

const float BONE_HEALTH_INCREMENT_PER_SEC = 0.25
private

Definition at line 7 of file boneregen.c.

◆ MINIMAL_BLOOD_REQUIRED_TO_REGENERATE_HEALTH

const float MINIMAL_BLOOD_REQUIRED_TO_REGENERATE_HEALTH = 5000
private

Definition at line 6 of file boneregen.c.

◆ MINIMAL_BLOOD_TO_REGENRATE

const float MINIMAL_BLOOD_TO_REGENRATE = 5000
private

Definition at line 5 of file boneregen.c.

Referenced by ActivateCondition(), and DeactivateCondition().

◆ MINIMAL_ENERGY_TO_REGENRATE

const float MINIMAL_ENERGY_TO_REGENRATE = 4000
private

Definition at line 4 of file boneregen.c.

Referenced by ActivateCondition(), and DeactivateCondition().

◆ MINIMAL_WATER_TO_REGENRATE

const float MINIMAL_WATER_TO_REGENRATE = 2500
private

Definition at line 3 of file boneregen.c.

Referenced by ActivateCondition(), and DeactivateCondition().


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/playermodifiers/modifiers/boneregen.c