mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
fixes improper scoping on revenant hallucination (#20349)
* fixes improper scoping on revenant hallucination * as anything? Why not as some_bitches * cool™️ * Update code/game/gamemodes/miniantags/revenant/revenant_abilities.dm Co-authored-by: Farie82 <farie82@users.noreply.github.com> --------- Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user