mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-03 05:21:27 +00:00
I might HAVE accidently made dualwielding hilariously OP again so have a nerf! (#28125)
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
|
||||||
|
#define DUALWIELD_PENALTY_EXTRA_MULTIPLIER 1.4
|
||||||
|
|
||||||
/obj/item/weapon/gun
|
/obj/item/weapon/gun
|
||||||
name = "gun"
|
name = "gun"
|
||||||
desc = "It's a gun. It's pretty terrible, though."
|
desc = "It's a gun. It's pretty terrible, though."
|
||||||
@@ -229,7 +232,7 @@
|
|||||||
break
|
break
|
||||||
if(chambered && chambered.BB)
|
if(chambered && chambered.BB)
|
||||||
if(randomspread)
|
if(randomspread)
|
||||||
sprd = round((rand() - 0.5) * (randomized_gun_spread + randomized_bonus_spread))
|
sprd = round((rand() - 0.5) * DUALWIELD_PENALTY_EXTRA_MULTIPLIER * (randomized_gun_spread + randomized_bonus_spread))
|
||||||
else //Smart spread
|
else //Smart spread
|
||||||
sprd = round((((rand_spr/burst_size) * i) - (0.5 + (rand_spr * 0.25))) * (randomized_gun_spread + randomized_bonus_spread))
|
sprd = round((((rand_spr/burst_size) * i) - (0.5 + (rand_spr * 0.25))) * (randomized_gun_spread + randomized_bonus_spread))
|
||||||
|
|
||||||
@@ -250,7 +253,7 @@
|
|||||||
firing_burst = 0
|
firing_burst = 0
|
||||||
else
|
else
|
||||||
if(chambered)
|
if(chambered)
|
||||||
sprd = round((rand() - 0.5) * (randomized_gun_spread + randomized_bonus_spread))
|
sprd = round((rand() - 0.5) * DUALWIELD_PENALTY_EXTRA_MULTIPLIER * (randomized_gun_spread + randomized_bonus_spread))
|
||||||
if(!chambered.fire_casing(target, user, params, , suppressed, zone_override, sprd))
|
if(!chambered.fire_casing(target, user, params, , suppressed, zone_override, sprd))
|
||||||
shoot_with_empty_chamber(user)
|
shoot_with_empty_chamber(user)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user