Prevents eternal Rod Form (#19881)

* makes rod form not work while jaunting

* Revert "makes rod form not work while jaunting"

This reverts commit fb1be0f482.

* prevents eternal rod form

* hal9000 review
This commit is contained in:
Coolrune206
2022-12-11 15:16:28 -06:00
committed by GitHub
parent 18b0e61235
commit 9bca5ac7b2
+4
View File
@@ -17,6 +17,10 @@
return new /datum/spell_targeting/self
/obj/effect/proc_holder/spell/rod_form/cast(list/targets,mob/user = usr)
if(get_turf(user) != user.loc)
to_chat(user, "<span class='warning'>You cannot summon a rod in the ether, the spell fizzles out!</span>")
revert_cast()
return FALSE
for(var/mob/living/M in targets)
var/turf/start = get_turf(M)
var/obj/effect/immovablerod/wizard/W = new(start, get_ranged_target_turf(M, M.dir, (15 + spell_level * 3)), rod_delay)