From 06b2d305148f041c835cb2081ff3c2de5c455e0f Mon Sep 17 00:00:00 2001 From: nikita <59087849+mrcreepysos@users.noreply.github.com> Date: Wed, 13 Dec 2023 01:36:36 +0300 Subject: [PATCH] tone down some of the absurd enemy damage dealers --- lua/charactertweakdata.lua | 20 ++++++++++---------- lua/weapontweakdata.lua | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/lua/charactertweakdata.lua b/lua/charactertweakdata.lua index f09aff9..01b9e01 100644 --- a/lua/charactertweakdata.lua +++ b/lua/charactertweakdata.lua @@ -63,7 +63,7 @@ function CharacterTweakData:_presets(tweak_data, ...) presets.weapon.base.is_shotgun_pump.RELOAD_SPEED = 1.5 presets.weapon.base.is_shotgun_pump.range = { close = 500, optimal = 1000, far = 2000 } presets.weapon.base.is_shotgun_pump.FALLOFF = { - { dmg_mul = 17.5, r = 300, acc = { 0.8, 1 }, recoil = { 0.8, 1 }, mode = { 1, 0, 0, 0 } }, + { dmg_mul = 15, r = 300, acc = { 0.8, 1 }, recoil = { 0.8, 1 }, mode = { 1, 0, 0, 0 } }, { dmg_mul = 10.5, r = 1000, acc = { 0.7, 0.9 }, recoil = { 1, 1.4 }, mode = { 1, 0, 0, 0 } }, { dmg_mul = 2.5, r = 2000, acc = { 0.6, 0.8 }, recoil = { 1.2, 1.8 }, mode = { 1, 0, 0, 0 } }, } @@ -92,7 +92,7 @@ function CharacterTweakData:_presets(tweak_data, ...) presets.weapon.base.is_smg = deep_clone(presets.weapon.base.is_rifle) presets.weapon.base.is_smg.autofire_rounds = { 3, 8 } presets.weapon.base.is_smg.FALLOFF = { - { dmg_mul = 5, r = 0, acc = { 0.4, 0.7 }, recoil = { 0.5, 1 }, mode = { 1, 0, 0, 0 } }, + { dmg_mul = 5, r = 0, acc = { 0.35, 0.6 }, recoil = { 0.5, 1 }, mode = { 1, 0, 0, 0 } }, { dmg_mul = 5, r = 3000, acc = { 0.1, 0.3 }, recoil = { 1, 2 }, mode = { 1, 0, 0, 0 } }, } @@ -123,10 +123,10 @@ function CharacterTweakData:_presets(tweak_data, ...) } presets.weapon.gc = based_on(presets.weapon.base) - presets.weapon.gc.is_rifle.autofire_rounds = { 1, 3 } + presets.weapon.gc.is_rifle.autofire_rounds = { 1, 1 } presets.weapon.gc.is_rifle.FALLOFF = { - { dmg_mul = 9, r = 0, acc = { 0.45, 0.7 }, recoil = { 0.5, 1 }, mode = { 1, 0, 0, 0 } }, - { dmg_mul = 9, r = 3000, acc = { 0.2, 0.45 }, recoil = { 1, 2 }, mode = { 1, 0, 0, 0 } }, + { dmg_mul = 9, r = 0, acc = { 0.45, 0.6 }, recoil = { 0.33, 0.66 }, mode = { 1, 0, 0, 0 } }, + { dmg_mul = 9, r = 3000, acc = { 0.15, 0.3 }, recoil = { 1, 2 }, mode = { 1, 0, 0, 0 } }, } presets.weapon.gc.is_smg.FALLOFF = { { dmg_mul = 7.5, r = 0, acc = { 0.45, 0.7 }, recoil = { 0.5, 1 }, mode = { 1, 0, 0, 0 } }, @@ -138,9 +138,9 @@ function CharacterTweakData:_presets(tweak_data, ...) aim_delay = { 0, 0.1 }, }) - presets.weapon.elite.is_rifle.autofire_rounds = { 1, 3 } + presets.weapon.elite.is_rifle.autofire_rounds = { 1, 1 } presets.weapon.elite.is_rifle.FALLOFF = { - { dmg_mul = 8.5, r = 0, acc = { 0.6, 0.9 }, recoil = { 0.5, 1 }, mode = { 1, 0, 0, 0 } }, + { dmg_mul = 8.5, r = 0, acc = { 0.6, 0.9 }, recoil = { 0.33, 0.66 }, mode = { 1, 0, 0, 0 } }, { dmg_mul = 8.5, r = 3000, acc = { 0.25, 0.6 }, recoil = { 1, 2 }, mode = { 1, 0, 0, 0 } }, } @@ -153,7 +153,7 @@ function CharacterTweakData:_presets(tweak_data, ...) presets.weapon.elite.is_shotgun_pump.RELOAD_SPEED = 1.5 presets.weapon.elite.is_shotgun_pump.range = { close = 500, optimal = 1000, far = 2000 } presets.weapon.elite.is_shotgun_pump.FALLOFF = { - { dmg_mul = 17.5, r = 300, acc = { 0.8, 1 }, recoil = { 0.75, 0.75 }, mode = { 1, 0, 0, 0 } }, + { dmg_mul = 15, r = 300, acc = { 0.8, 1 }, recoil = { 0.75, 0.75 }, mode = { 1, 0, 0, 0 } }, { dmg_mul = 10.5, r = 1000, acc = { 0.7, 0.9 }, recoil = { 0.9, 0.9 }, mode = { 1, 0, 0, 0 } }, { dmg_mul = 2.5, r = 2000, acc = { 0.6, 0.8 }, recoil = { 1, 1.2 }, mode = { 1, 0, 0, 0 } }, } @@ -171,12 +171,12 @@ function CharacterTweakData:_presets(tweak_data, ...) presets.weapon.shield.is_smg.autofire_rounds = { 3, 8 } presets.weapon.shield.is_smg.FALLOFF = { - { dmg_mul = 3, r = 0, acc = { 0.4, 0.7 }, recoil = { 0.5, 1 }, mode = { 1, 0, 0, 0 } }, + { dmg_mul = 3, r = 0, acc = { 0.35, 0.6 }, recoil = { 0.5, 1 }, mode = { 1, 0, 0, 0 } }, { dmg_mul = 3, r = 3000, acc = { 0.1, 0.3 }, recoil = { 1, 2 }, mode = { 1, 0, 0, 0 } }, } presets.weapon.elite_shield.is_pistol.FALLOFF = { - { dmg_mul = 7, r = 0, acc = { 0.6, 0.9 }, recoil = { 0.3, 0.45 }, mode = { 1, 0, 0, 0 } }, + { dmg_mul = 7, r = 0, acc = { 0.5, 0.75 }, recoil = { 0.4, 0.6 }, mode = { 1, 0, 0, 0 } }, { dmg_mul = 7, r = 3000, acc = { 0.1, 0.4 }, recoil = { 0.5, 1 }, mode = { 1, 0, 0, 0 } }, } diff --git a/lua/weapontweakdata.lua b/lua/weapontweakdata.lua index de25af5..36cddb2 100644 --- a/lua/weapontweakdata.lua +++ b/lua/weapontweakdata.lua @@ -1717,7 +1717,7 @@ self.system.use_data.selection_index = SELECTION.UNDERBARREL_PRIMARY -- NPC weapons -- rifles self.m4_npc.DAMAGE = 1 - self.m4_npc.auto.fire_rate = 0.225 + self.m4_npc.auto.fire_rate = 0.25 self.m4_yellow_npc.DAMAGE = 1 self.m4_yellow_npc.auto.fire_rate = 0.3 self.g36_npc.DAMAGE = 1