Updated humanity Regen when under 1

Vanilla commit:

8e844e2b63
This commit is contained in:
ebaydayz
2016-10-29 16:05:08 -04:00
parent 9a4afbfc43
commit 92d6257b92
2 changed files with 7 additions and 23 deletions

View File

@@ -4,6 +4,7 @@ _wait = _this select 1;
_humanity = (player getVariable["humanity",0]) + _change;
player setVariable["humanity",_humanity,true];
if (_change < 0) then { //non-bandit player can be "punished" in next "_wait" seconds w/o loosing humanity
if ((_humanity > -2000) and (_wait > 0)) then {
// player setVariable ["freeTarget",true,true];