From 52f74e89997e0ad7226b01ee917828d488f32630 Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Mon, 27 Feb 2023 14:36:03 -0600 Subject: [PATCH] fixes improper scoping on revenant hallucination (#20349) * fixes improper scoping on revenant hallucination * as anything? Why not as some_bitches * cool:tm: * Update code/game/gamemodes/miniantags/revenant/revenant_abilities.dm Co-authored-by: Farie82 --------- Co-authored-by: Farie82 --- code/game/gamemodes/miniantags/revenant/revenant_abilities.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm b/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm index be9eee0cf9b..8bd90d2609e 100644 --- a/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm +++ b/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm @@ -415,14 +415,14 @@ /obj/effect/proc_holder/spell/aoe/revenant/hallucinations/create_new_targeting() var/datum/spell_targeting/aoe/targeting = new() targeting.range = aoe_range - targeting.allowed_type = /mob/living + targeting.allowed_type = /mob/living/carbon return targeting /obj/effect/proc_holder/spell/aoe/revenant/hallucinations/cast(list/targets, mob/living/simple_animal/revenant/user = usr) if(!attempt_cast(user)) return - for(var/mob/living/M as anything in targets) + for(var/mob/living/carbon/M as anything in targets) M.AdjustHallucinate(120 SECONDS, bound_upper = 300 SECONDS) //Lets not let them get more than 5 minutes of hallucinations new /obj/effect/temp_visual/revenant(get_turf(M))