DayZ 1.24
Loading...
Searching...
No Matches
Epinephrine.c
Go to the documentation of this file.
2{
10
11 override void OnApply(PlayerBase player)
12 {
13 if (!player)
14 return;
15 if (player.GetModifiersManager().IsModifierActive(eModifiers.MDF_EPINEPHRINE)) //effectively resets the timer
16 player.GetModifiersManager().DeactivateModifier(eModifiers.MDF_EPINEPHRINE);
17 player.GetModifiersManager().ActivateModifier(eModifiers.MDF_EPINEPHRINE);
18 }
19};
void AddAction(typename actionName)
override void OnApply(PlayerBase player)
Definition Epinephrine.c:11
override void SetActions()
Definition Epinephrine.c:3
eModifiers
Definition eModifiers.c:2