Update confirmed kills system

Vanilla commits applied:

347105c036

e6b6814f51

1009828d8e
This commit is contained in:
ebaydayz
2016-10-15 15:08:48 -04:00
parent 81aed28f87
commit 7ddee142b0
3 changed files with 29 additions and 12 deletions

View File

@@ -109,7 +109,7 @@ if (_unit == player) then {
if (!_punishment && {(dayz_lastHumanityChange + 3) < diag_tickTime}) then {
dayz_lastHumanityChange = diag_tickTime;
_myKills = 200 - (((player getVariable ["humanKills",0]) / 3) * 150);
_myKills = 200 - ((player getVariable ["humanKills",0]) * 3.3);
// how many non bandit players have I (the shot/damaged player) killed?
// punish my killer 200 for shooting a surivor
// but subtract 50 for each survivor I've murdered

View File

@@ -90,7 +90,7 @@ if (count _array > 0) then {
if (!_punishment) then {
//I'm "not guilty" - kill me and be punished
_myKills = ((player getVariable ["humanKills",0]) / 3) * 1500;
_myKills = (player getVariable ["humanKills",0]) * 33.3;
// how many non bandit players have I (the dead player) killed?
// punish my killer 2000 for shooting a surivor
// but subtract 500 for each survivor I've murdered
@@ -104,8 +104,9 @@ if (count _array > 0) then {
_killsV = _source getVariable ["banditKills",0];
_source setVariable ["banditKills",(_killsV + 1),true];
};
//Setup for study bodys.
_body setVariable ["KillingBlow",_source,true];
_body setVariable ["KillingBlow",[_source,_punishment],true];
};
_body setVariable ["deathType",_method,true];
};