mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Datumizes Wizards (#24702)
* fucking wizards * this too * this * i think thats it * okay lets do this * remove commented code * gdn review * welp * fix runtime * yes * lewc review
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
/obj/item/dice/d20/fate/diceroll(mob/user)
|
||||
. = ..()
|
||||
if(!used)
|
||||
if(!ishuman(user) || !user.mind || (user.mind in SSticker.mode.wizards))
|
||||
if(!ishuman(user) || !user.mind || iswizard(user))
|
||||
to_chat(user, "<span class='warning'>You feel the magic of the dice is restricted to ordinary humans!</span>")
|
||||
return
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
addtimer(CALLBACK(src, PROC_REF(effect), user, .), 1 SECONDS)
|
||||
|
||||
/obj/item/dice/d20/fate/equipped(mob/user, slot)
|
||||
if(!ishuman(user) || !user.mind || (user.mind in SSticker.mode.wizards))
|
||||
if(!ishuman(user) || !user.mind || iswizard(user))
|
||||
to_chat(user, "<span class='warning'>You feel the magic of the dice is restricted to ordinary humans! You should leave it alone.</span>")
|
||||
user.unEquip(src)
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
..()
|
||||
|
||||
/obj/item/staff/broom/dropped(mob/user)
|
||||
if((user.mind in SSticker.mode.wizards) && user.flying)
|
||||
if(iswizard(user) && user.flying)
|
||||
user.flying = FALSE
|
||||
..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user