Admins can now set a var to allow a mob to spam-attack

This commit is contained in:
Crazylemon64
2017-08-05 07:25:52 -07:00
parent 1f3e11d26c
commit 9b780a6b5b
4 changed files with 36 additions and 12 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ var/list/spells = typesof(/obj/effect/proc_holder/spell) //needed for the badmin
to_chat(user, "<span class='warning'><b>[user.ranged_ability.name]</b> has been disabled.")
user.ranged_ability.remove_ranged_ability(user)
return TRUE //TRUE for failed, FALSE for passed.
user.next_click = world.time + CLICK_CD_CLICK_ABILITY
user.changeNext_click(CLICK_CD_CLICK_ABILITY)
user.face_atom(A)
return FALSE