mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
revert melee damage and damage reduction factors
This commit is contained in:
@@ -44,7 +44,7 @@ class CfgAmmo {
|
||||
};
|
||||
class Melee;
|
||||
class Machete_Swing_Ammo : Melee {
|
||||
hit = 53;
|
||||
hit = 15;
|
||||
simulation = "shotBullet";
|
||||
minRange = 1;
|
||||
minRangeProbab = 0.8;
|
||||
@@ -59,7 +59,7 @@ class CfgAmmo {
|
||||
soundEngine[] = {"", db-80, 4};
|
||||
};
|
||||
class Hatchet_Swing_Ammo : Melee {
|
||||
hit = 50;
|
||||
hit = 12;
|
||||
simulation = "shotBullet";
|
||||
minRange = 1;
|
||||
minRangeProbab = 0.8;
|
||||
@@ -74,7 +74,7 @@ class CfgAmmo {
|
||||
soundEngine[] = {"", db-80, 4};
|
||||
};
|
||||
class Crowbar_Swing_Ammo : Melee {
|
||||
hit = 48;
|
||||
hit = 10;
|
||||
simulation = "shotBullet";
|
||||
minRange = 1;
|
||||
minRangeProbab = 0.8;
|
||||
@@ -89,7 +89,7 @@ class CfgAmmo {
|
||||
soundEngine[] = {"", db-80, 4};
|
||||
};
|
||||
class Fishing_Swing_Ammo : Melee {
|
||||
hit = 45;
|
||||
hit = 7;
|
||||
simulation = "shotBullet";
|
||||
minRange = 1;
|
||||
minRangeProbab = 1;
|
||||
@@ -104,7 +104,7 @@ class CfgAmmo {
|
||||
soundEngine[] = {"", db-80, 4};
|
||||
};
|
||||
class Sledge_Swing_Ammo : Melee {
|
||||
hit = 49;
|
||||
hit = 15;
|
||||
simulation = "shotBullet";
|
||||
minRange = 1;
|
||||
minRangeProbab = 0.8;
|
||||
|
||||
@@ -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