Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
HeartAttackMdfr Class Reference
Inheritance diagram for HeartAttackMdfr:
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 HEALTH_DECREMENT_PER_SEC = -0.2
const float SHOCK_DECREMENT_PER_SEC = -2
const float SHOCK_LIMIT = 0

Detailed Description

Definition at line 1 of file heartattack.c.

Member Function Documentation

◆ ActivateCondition()

override bool ActivateCondition ( PlayerBase player)
inlineprivate

Definition at line 17 of file heartattack.c.

◆ DeactivateCondition()

override bool DeactivateCondition ( PlayerBase player)
inlineprivate

Definition at line 26 of file heartattack.c.

◆ Init()

◆ OnActivate()

override void OnActivate ( PlayerBase player)
inlineprivate

Definition at line 22 of file heartattack.c.

◆ OnTick()

override void OnTick ( PlayerBase player,
float deltaT )
inlineprivate

Definition at line 31 of file heartattack.c.

References HEALTH_DECREMENT_PER_SEC, SHOCK_DECREMENT_PER_SEC, and SHOCK_LIMIT.

Field Documentation

◆ HEALTH_DECREMENT_PER_SEC

const float HEALTH_DECREMENT_PER_SEC = -0.2
private

Definition at line 3 of file heartattack.c.

Referenced by OnTick().

◆ SHOCK_DECREMENT_PER_SEC

const float SHOCK_DECREMENT_PER_SEC = -2
private

Definition at line 4 of file heartattack.c.

Referenced by OnTick().

◆ SHOCK_LIMIT

const float SHOCK_LIMIT = 0
private

Definition at line 5 of file heartattack.c.

Referenced by OnTick().


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