mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-12 10:53:57 +00:00
Update eldritch_items.dm
This commit is contained in:
@@ -62,14 +62,12 @@
|
|||||||
|
|
||||||
/datum/action/innate/heretic_shatter/IsAvailable()
|
/datum/action/innate/heretic_shatter/IsAvailable()
|
||||||
if(IS_HERETIC(holder) || IS_HERETIC_MONSTER(holder))
|
if(IS_HERETIC(holder) || IS_HERETIC_MONSTER(holder))
|
||||||
return TRUE
|
return ..()
|
||||||
else
|
else
|
||||||
return FALSE
|
return FALSE
|
||||||
|
|
||||||
/datum/action/innate/heretic_shatter/Activate()
|
/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)
|
var/turf/safe_turf = find_safe_turf(zlevels = sword.z, extended_safety_checks = TRUE)
|
||||||
do_teleport(holder,safe_turf,forceMove = 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>")
|
to_chat(holder,"<span class='warning'>You feel a gust of energy flow through your body... the Rusted Hills heard your call...</span>")
|
||||||
|
|||||||
Reference in New Issue
Block a user