mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +03:00
revert melee damage and damage reduction factors
This commit is contained in:
@@ -15,10 +15,6 @@ _source = _this select 3;
|
||||
_ammo = _this select 4;
|
||||
_type = [_damage,_ammo] call fnc_usec_damageType;
|
||||
|
||||
if (_type == 3) then {
|
||||
_damage = _damage * 0.024;
|
||||
};
|
||||
|
||||
_isMinor = (_hit in USEC_MinorWounds);
|
||||
_isHeadHit = (_hit == "head_hit");
|
||||
//_evType = "";
|
||||
|
||||
@@ -9,13 +9,7 @@ _unit = _this select 0;
|
||||
_hit = _this select 1;
|
||||
_damage = _this select 2;
|
||||
//_source = _this select 3;
|
||||
_ammo = _this select 4;
|
||||
|
||||
_type = [_damage,_ammo] call fnc_usec_damageType;
|
||||
|
||||
if (_type == 3) then {
|
||||
_damage = _damage * 0.024;
|
||||
};
|
||||
//_ammo = _this select 4;
|
||||
|
||||
_total = _damage;
|
||||
|
||||
|
||||
@@ -11,10 +11,6 @@ _projectile = _this select 4;
|
||||
|
||||
if (local _zed) then {
|
||||
|
||||
if (_projectile isKindOf "Melee") then {
|
||||
_damage = _damage * 0.024;
|
||||
};
|
||||
|
||||
if (_damage > 1 and _projectile != "") then {
|
||||
//Record deliberate critical damages
|
||||
switch (_selection) do {
|
||||
|
||||
Reference in New Issue
Block a user