Merge pull request #9674 from Yoshax/stafffixes

Makes special wizard projectile staffs only usable by wizards
This commit is contained in:
PsiOmegaDelta
2015-06-04 20:52:09 +02:00
2 changed files with 12 additions and 0 deletions
@@ -117,6 +117,13 @@
self_recharge = 1
charge_meter = 0
/obj/item/weapon/gun/energy/staff/special_check(var/mob/user)
if((user.mind && !wizards.is_antagonist(user.mind)))
usr << "<span class='warning'>You focus your mind on \the [src], but nothing happens!</span>"
return 0
return ..()
/obj/item/weapon/gun/energy/staff/handle_click_empty(mob/user = null)
if (user)
user.visible_message("*fizzle*", "<span class='danger'>*fizzle*</span>")
+5
View File
@@ -0,0 +1,5 @@
author: Yoshax
delete-after: True
changes:
- tweak: "Makes the special wizard projectile staffs, Animate, Change, Focus and any future ones only usable by wizards.."