From 67b522fe0eefc896c3245c5e2e93c67edbff3600 Mon Sep 17 00:00:00 2001 From: py01 Date: Sat, 26 Oct 2019 01:57:29 -0600 Subject: [PATCH] increases disabler spread (#47233) Current dual wielded disablers/lasers have very little spread, and 1-2 shots shoot straight enough to hit the tile you are clicking on at range 7 a majority of the time, which is pretty high. With the new spread their effective range in now smaller, around 3-4 tiles. Spread unchanged for dual wielding on the other acquirable guns. cl balance: Increased spread on dual wielded energy weapons. /cl --- code/modules/projectiles/gun.dm | 3 ++- code/modules/projectiles/guns/energy/energy_gun.dm | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index 101b4a25ad2..478c22f266e 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -38,6 +38,7 @@ var/firing_burst = 0 //Prevent the weapon from firing again while already firing var/semicd = 0 //cooldown handler var/weapon_weight = WEAPON_LIGHT + var/dual_wield_spread = 24 //additional spread when dual wielding var/spread = 0 //Spread induced by the gun itself. var/randomspread = 1 //Set to 0 for shotguns. This is used for weapons that don't fire all their bullets at once. @@ -227,7 +228,7 @@ if(G == src || G.weapon_weight >= WEAPON_MEDIUM) continue else if(G.can_trigger_gun(user)) - bonus_spread += 24 * G.weapon_weight + bonus_spread += dual_wield_spread loop_counter++ addtimer(CALLBACK(G, /obj/item/gun.proc/process_fire, target, user, TRUE, params, null, bonus_spread), loop_counter) diff --git a/code/modules/projectiles/guns/energy/energy_gun.dm b/code/modules/projectiles/guns/energy/energy_gun.dm index a5cc1131ae8..a9a44c1839c 100644 --- a/code/modules/projectiles/guns/energy/energy_gun.dm +++ b/code/modules/projectiles/guns/energy/energy_gun.dm @@ -9,6 +9,7 @@ ammo_x_offset = 3 flight_x_offset = 15 flight_y_offset = 10 + dual_wield_spread = 60 /obj/item/gun/energy/e_gun/mini name = "miniature energy gun"