mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-20 10:26:28 +03:00
Remove humanity hit for killing player zombies
If you kill a player zombie you should not lose humanity. Player_death is now synced with the humanity hit code in the damage handler. Also the killing blow set variable was moved up because the same conditions were already checked above.
This commit is contained in:
@@ -45,7 +45,6 @@ if ((_unit == player) or (vehicle player != player)) then {
|
||||
//Self Healing
|
||||
_id = [player,player] execVM "\z\addons\dayz_code\medical\publicEH\medMorphine.sqf";
|
||||
} else {
|
||||
//PVCDZ_plr_Humanity = [player,50];
|
||||
[50,0] call player_humanityChange;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user