4 const int BLOOD_LOSS = 250;
10 m_DestroyOnAnimFinish =
true;
11 m_SyncToClient =
false;
38 m_Player.m_PlayerStomach.ClearContents();
40 if (IsContaminationActive())
41 m_Player.AddHealth(
"",
"Blood", -BLOOD_LOSS);
52 if (IsContaminationActive())
int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
ModifiersManager m_Manager
PluginBase GetPlugin(typename plugin_type)
void DepleteStamina(EStaminaModifiers modifier, float dT=-1)
override void OnAnimationStart()
override SmptAnimMetaBase SpawnAnimMetaObject()
override bool CanActivate()
override void OnGetActivatedServer(PlayerBase player)
gets called once on an Symptom which is being activated
override void OnGetDeactivatedServer(PlayerBase player)
only gets called once on an active Symptom that is being deactivated
override void OnUpdateClient(PlayerBase player, float deltatime)
override void OnAnimationFinish()
override void OnUpdateServer(PlayerBase player, float deltatime)
gets called every frame
override void OnGetDeactivatedClient(PlayerBase player)
bool IsContaminationActive()
DayZPlayerConstants
defined in C++