mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 06:29:23 +01:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user