Update eldritch_items.dm

This commit is contained in:
silicons
2021-02-12 22:50:09 -07:00
committed by GitHub
parent b465225bc2
commit acf06abed5

View File

@@ -62,14 +62,12 @@
/datum/action/innate/heretic_shatter/IsAvailable()
if(IS_HERETIC(holder) || IS_HERETIC_MONSTER(holder))
return TRUE
return ..()
else
return FALSE
/datum/action/innate/heretic_shatter/Activate()
if(!CHECK_MOBILITY(holder, MOBILITY_USE))
to_chat(holder, "<span class='warning'>You can't do that right now!</span>")
return
. = ..()
var/turf/safe_turf = find_safe_turf(zlevels = sword.z, extended_safety_checks = TRUE)
do_teleport(holder,safe_turf,forceMove = TRUE)
to_chat(holder,"<span class='warning'>You feel a gust of energy flow through your body... the Rusted Hills heard your call...</span>")