From 3dc71602c0129bdbb6856b9bf4e647f65407abdf Mon Sep 17 00:00:00 2001 From: ebayShopper Date: Fri, 31 Mar 2017 18:30:39 -0400 Subject: [PATCH] Fix death message killer inaccurate in some cases --- CHANGE LOG 1.0.6.2.txt | 1 + SQF/dayz_code/compile/fn_damageHandler.sqf | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGE LOG 1.0.6.2.txt b/CHANGE LOG 1.0.6.2.txt index 6e7d01019..fa3c7abe3 100644 --- a/CHANGE LOG 1.0.6.2.txt +++ b/CHANGE LOG 1.0.6.2.txt @@ -23,6 +23,7 @@ [FIXED] Corpse markers are now deleted for bodies that are hidden. [FIXED] Unable to sell classic 'ItemBloodbag' at traders. @oiad [FIXED] The player building a shed, tent or other unlocked storage was unable to use its gear until relog when DZE_GodModeBase=true; @oiad +[FIXED] Death message killer inaccurate when player is caused to bleed by one unit and then killed by a different unit shortly after. @oiad [NOTE] Fixes below are included in the mission file and server pbo as part of server package 1.0.6.1A (March 10th 2017) [FIXED] Fixed food and drink going down 10x faster from melee and other "working" actions. diff --git a/SQF/dayz_code/compile/fn_damageHandler.sqf b/SQF/dayz_code/compile/fn_damageHandler.sqf index 344abfcf5..6aed00b37 100644 --- a/SQF/dayz_code/compile/fn_damageHandler.sqf +++ b/SQF/dayz_code/compile/fn_damageHandler.sqf @@ -240,6 +240,7 @@ if (_damage > 0.4) then { //End body part scale //??????????? if (!(player == _source) && (_isPlayer or (_isMan && !_isZombieHit))) then { //Scale shots from AI units the same as shots from players + dayz_sourceBleeding = _source; //Used for death messages _scale = _scale + 800; if (_isHeadHit) then { if (_ammo in MeleeAmmo) then {