Send damage selection normally for RPT log c10a7c3

This commit is contained in:
ebaydayz
2017-01-29 12:02:27 -05:00
parent 611fd73bbd
commit cfd0f74870
2 changed files with 2 additions and 2 deletions

View File

@@ -184,7 +184,7 @@ if (_unit == player) then {
};
//Damage values over 999,999 will kick for PV value restriction (e+). These should not be possible for legitimate players.
PVDZ_sec_atp = [_unit, _source, toArray _sourceWeap, _sourceDist, toArray _hit, str _damage]; //Send arbitrary string as array to allow stricter publicVariableVal.txt filter
PVDZ_sec_atp = [_unit, _source, toArray _sourceWeap, _sourceDist, _hit, str _damage]; //Send arbitrary string as array to allow stricter publicVariableVal.txt filter
publicVariableServer "PVDZ_sec_atp";
};

View File

@@ -439,7 +439,7 @@ if (dayz_townGenerator) then {execVM "\z\addons\dayz_server\system\lit_fireplace
_source = _x select 1;
if (!isNull _source) then {
diag_log format ["P1ayer %1 hit by %2 %3 from %4 meters in %5 for %6 damage",
_unit call fa_plr2Str, _source call fa_plr2Str, toString (_x select 2), _x select 3, toString (_x select 4), _x select 5];
_unit call fa_plr2Str, _source call fa_plr2Str, toString (_x select 2), _x select 3, _x select 4, _x select 5];
if (_unit getVariable ["processedDeath",0] == 0) then {
if (alive _source) then {_unit setVariable ["attacker", name _source];};
_unit setVariable ["noatlf4", diag_ticktime]; // server-side "not in combat" test, if player is not already dead