mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Makes special wizard projectile staffs only usable by wizards.
This commit is contained in:
@@ -117,6 +117,13 @@
|
|||||||
self_recharge = 1
|
self_recharge = 1
|
||||||
charge_meter = 0
|
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)
|
/obj/item/weapon/gun/energy/staff/handle_click_empty(mob/user = null)
|
||||||
if (user)
|
if (user)
|
||||||
user.visible_message("*fizzle*", "<span class='danger'>*fizzle*</span>")
|
user.visible_message("*fizzle*", "<span class='danger'>*fizzle*</span>")
|
||||||
|
|||||||
5
html/changelogs/Yoshax-stafffixes.yml
Normal file
5
html/changelogs/Yoshax-stafffixes.yml
Normal 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.."
|
||||||
Reference in New Issue
Block a user