PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
BoneRegenMdfr Class Reference

Private Member Functions

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

Private Attributes

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

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase  player)
inlineprivate

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase  player)
inlineprivate

◆ Init()

◆ OnActivate()

override void OnActivate ( PlayerBase  player)
inlineprivate

◆ OnTick()

override void OnTick ( PlayerBase  player,
float  deltaT 
)
inlineprivate

Field Documentation

◆ BONE_HEALTH_INCREMENT_PER_SEC

private const float BONE_HEALTH_INCREMENT_PER_SEC = 0.25
private

◆ MINIMAL_BLOOD_REQUIRED_TO_REGENERATE_HEALTH

private const float MINIMAL_BLOOD_REQUIRED_TO_REGENERATE_HEALTH = 5000
private

◆ MINIMAL_BLOOD_TO_REGENRATE

private const float MINIMAL_BLOOD_TO_REGENRATE = 5000
private

◆ MINIMAL_ENERGY_TO_REGENRATE

private const float MINIMAL_ENERGY_TO_REGENRATE = 4000
private

◆ MINIMAL_WATER_TO_REGENRATE

private const float MINIMAL_WATER_TO_REGENRATE = 2500
private

The documentation for this class was generated from the following file: