mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Merge pull request #12318 from Dave-TH/rooty_tooty_magic_shooty
Makes Wizards Twice As Cool
This commit is contained in:
@@ -23,7 +23,6 @@
|
||||
righthand_file = 'icons/mob/inhands/items_righthand.dmi'
|
||||
|
||||
/obj/item/gun/magic/afterattack(atom/target, mob/living/user, flag)
|
||||
newshot()
|
||||
if(no_den_usage)
|
||||
var/area/A = get_area(user)
|
||||
if(istype(A, /area/wizard_station))
|
||||
@@ -37,10 +36,14 @@
|
||||
return charges
|
||||
|
||||
/obj/item/gun/magic/newshot(params)
|
||||
if(charges && chambered)
|
||||
if(charges && chambered && !chambered.BB)
|
||||
chambered.newshot(params)
|
||||
return
|
||||
|
||||
/obj/item/gun/magic/process_fire()
|
||||
newshot()
|
||||
return ..()
|
||||
|
||||
/obj/item/gun/magic/process_chamber()
|
||||
if(chambered && !chambered.BB) //if BB is null, i.e the shot has been fired...
|
||||
charges--//... drain a charge
|
||||
|
||||
Reference in New Issue
Block a user