Merge pull request #11273 from Arkatos1/Guardian_phase_effect

Adds Guardian phase in/out effect
This commit is contained in:
variableundefined
2019-04-10 19:02:53 +08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
@@ -162,11 +162,12 @@
if(!summoner) return
if(loc == summoner)
forceMove(get_turf(summoner))
new /obj/effect/temp_visual/guardian/phase(loc)
src.client.eye = loc
cooldown = world.time + 30
/mob/living/simple_animal/hostile/guardian/proc/Recall(forced = FALSE)
if(cooldown > world.time && !forced)
if(!summoner || loc == summoner || (cooldown > world.time && !forced))
return
if(!summoner) return
new /obj/effect/temp_visual/guardian/phase/out(get_turf(src))
Binary file not shown.

Before

Width:  |  Height:  |  Size: 408 KiB

After

Width:  |  Height:  |  Size: 409 KiB