HERE WE GO AGAIN.

This commit is contained in:
kevinz000
2019-07-09 07:55:44 -07:00
parent d61732472c
commit a2d52c0ed9
6 changed files with 30 additions and 32 deletions

View File

@@ -201,7 +201,7 @@
/obj/item/stock_parts/cell/lascarbine
name = "laser carbine power supply"
maxcharge = 2500
maxcharge = 1670 //20 laser shots.
/obj/item/stock_parts/cell/pulse //200 pulse shots
name = "pulse rifle power cell"

View File

@@ -63,6 +63,8 @@
var/zoom_out_amt = 0
var/datum/action/toggle_scope_zoom/azoom
var/dualwield_spread_mult = 1 //dualwield spread multiplier
/obj/item/gun/Initialize()
. = ..()
if(pin)
@@ -184,7 +186,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 += 24 * G.weapon_weight * G.dualwield_spread_mult
loop_counter++
addtimer(CALLBACK(G, /obj/item/gun.proc/process_fire, target, user, TRUE, params, null, bonus_spread), loop_counter)