mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Makes the walls from Desecrated Duel GC properly (#24990)
* GC is a thing of all time * Spacing
This commit is contained in:
@@ -259,6 +259,7 @@
|
||||
user.apply_status_effect(STATUS_EFFECT_VAMPIRE_GLADIATOR)
|
||||
spell_active = TRUE
|
||||
timer = addtimer(CALLBACK(src, PROC_REF(dispel), user, TRUE), 30 SECONDS, TIMER_STOPPABLE)
|
||||
INVOKE_ASYNC(src, PROC_REF(arena_trap), get_turf(target)) //Gets another arena trap queued up for when this one runs out.
|
||||
RegisterSignal(user, COMSIG_PARENT_QDELETING, PROC_REF(dispel))
|
||||
arena_checks(get_turf(target), user)
|
||||
|
||||
@@ -266,7 +267,6 @@
|
||||
if(!spell_active || QDELETED(src))
|
||||
return
|
||||
INVOKE_ASYNC(src, PROC_REF(fighters_check), user) //Checks to see if our fighters died.
|
||||
INVOKE_ASYNC(src, PROC_REF(arena_trap), target_turf) //Gets another arena trap queued up for when this one runs out.
|
||||
addtimer(CALLBACK(src, PROC_REF(arena_checks), target_turf, user), 5 SECONDS)
|
||||
|
||||
/datum/spell/vampire/arena/proc/arena_trap(turf/target_turf)
|
||||
|
||||
@@ -476,6 +476,9 @@ 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
|
||||
duration = 35 SECONDS // A bit longer than the spell lasts, it should be cleaned up by the spell otherwise it might not GC properly
|
||||
|
||||
/obj/effect/temp_visual/elite_tumor_wall/gargantua/CanPass(atom/movable/mover, border_dir)
|
||||
return FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user