mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Send damage selection normally for RPT log c10a7c3
This commit is contained in:
@@ -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.
|
//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";
|
publicVariableServer "PVDZ_sec_atp";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -439,7 +439,7 @@ if (dayz_townGenerator) then {execVM "\z\addons\dayz_server\system\lit_fireplace
|
|||||||
_source = _x select 1;
|
_source = _x select 1;
|
||||||
if (!isNull _source) then {
|
if (!isNull _source) then {
|
||||||
diag_log format ["P1ayer %1 hit by %2 %3 from %4 meters in %5 for %6 damage",
|
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 (_unit getVariable ["processedDeath",0] == 0) then {
|
||||||
if (alive _source) then {_unit setVariable ["attacker", name _source];};
|
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
|
_unit setVariable ["noatlf4", diag_ticktime]; // server-side "not in combat" test, if player is not already dead
|
||||||
|
|||||||
Reference in New Issue
Block a user