Fix death message killer inaccurate in some cases

This commit is contained in:
ebayShopper
2017-03-31 18:30:39 -04:00
parent 6717b0c26e
commit 3dc71602c0
2 changed files with 2 additions and 0 deletions

View File

@@ -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.

View File

@@ -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 {