Fixes projectiles passing through the Desecrated Duel arena (#22588)

* Fixy fixy

* Make it not affect lavaland elites

* Update code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
DGamerL
2023-09-30 08:26:10 -04:00
committed by GitHub
co-authored by Contrabang
parent fb1fd1261b
commit 7b15c3f60b
2 changed files with 6 additions and 1 deletions
@@ -271,7 +271,7 @@
/obj/effect/proc_holder/spell/vampire/arena/proc/arena_trap(turf/target_turf)
for(var/tumor_range_turfs in circle_edge_turfs(target_turf, ARENA_SIZE))
tumor_range_turfs = new /obj/effect/temp_visual/elite_tumor_wall(tumor_range_turfs, src)
tumor_range_turfs = new /obj/effect/temp_visual/elite_tumor_wall/gargantua(tumor_range_turfs, src)
all_temp_walls += tumor_range_turfs
/obj/effect/proc_holder/spell/vampire/arena/proc/fighters_check(mob/living/user)
@@ -473,6 +473,11 @@ While using this makes the system rely on OnFire, it still gives options for tim
if(isliving(mover))
return FALSE
/obj/effect/temp_visual/elite_tumor_wall/gargantua/CanPass(atom/movable/mover, border_dir)
. = ..()
if(istype(mover, /obj/item/projectile))
return FALSE
/obj/item/gps/internal/tumor
icon_state = null
gpstag = "Cancerous Signal"