mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Re-add humanity gain on zombie kill
For some reason this was removed in
77e760fe73
@ebaydayz
This commit is contained in:
@@ -11,4 +11,9 @@ _type = _this select 1;
|
||||
if (local _zed) then {
|
||||
_kills = _killer getVariable[_type,0];
|
||||
_killer setVariable[_type,(_kills + 1),true];
|
||||
|
||||
//increase players humanity when zed killed
|
||||
_humanity = _killer getVariable["humanity",0];
|
||||
_humanity = _humanity + 5;
|
||||
_killer setVariable["humanity",_humanity,true];
|
||||
};
|
||||
Reference in New Issue
Block a user