3 const int COUGH_BLOOD_LOSS = 50;
9 m_ID = SymptomIDs.SYMPTOM_COUGH;
10 m_DestroyOnAnimFinish =
true;
11 m_SyncToClient =
false;
14 bool IsContaminationActive()
30 override void OnAnimationStart()
32 if ( IsContaminationActive() )
46 override void OnGetActivatedServer(
PlayerBase player)
48 if(
m_Manager.GetCurrentCommandID() ==
DayZPlayerConstants.COMMANDID_MOVE && !player.IsRaised() && player.GetCommand_Move() && player.GetCommand_Move() && !player.GetCommand_Move().IsOnBack())
56 player.SpreadAgentsEx(3);
58 if ( IsContaminationActive() )
59 player.AddHealth(
"",
"Blood", -COUGH_BLOOD_LOSS);
63 override void OnGetActivatedClient(
PlayerBase player)
69 override void OnGetDeactivatedServer(
PlayerBase player)
75 override void OnGetDeactivatedClient(
PlayerBase player)