From a83f185cf6492ad72a182a4a36434ce987427a73 Mon Sep 17 00:00:00 2001 From: Chiemi <80381079+scionalu@users.noreply.github.com> Date: Sun, 15 Dec 2024 12:10:01 +0700 Subject: [PATCH] SoW Hermit Fix (#2604) SoW fix --- .../simple_animal/abnormality/waw/wrath_servant.dm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/code/modules/mob/living/simple_animal/abnormality/waw/wrath_servant.dm b/code/modules/mob/living/simple_animal/abnormality/waw/wrath_servant.dm index 70b07408d024..dd816cbd7cd0 100644 --- a/code/modules/mob/living/simple_animal/abnormality/waw/wrath_servant.dm +++ b/code/modules/mob/living/simple_animal/abnormality/waw/wrath_servant.dm @@ -800,16 +800,15 @@ if(!can_act || (status_flags & GODMODE)) return can_act = FALSE - var/list/show_area = list() - show_area |= view(4, src) - for(var/turf/sT in show_area) + for(var/turf/open/sT in view(4, src)) new /obj/effect/temp_visual/cult/sparks(sT) SLEEP_CHECK_DEATH(1.25 SECONDS) playsound(src, 'sound/abnormalities/wrath_servant/hermit_magic.ogg', 75, FALSE, 10) - for(var/mob/living/L in show_area) + for(var/turf/open/sT in view(4, src)) + new /obj/effect/temp_visual/small_smoke/halfsecond(sT) + for(var/mob/living/L in livinginview(4, src)) if(faction_check_mob(L)) continue - new /obj/effect/temp_visual/small_smoke/halfsecond(get_turf(L)) L.deal_damage(60, WHITE_DAMAGE) can_act = TRUE return