From fcb2bfa2432cd597533113c1bcee0eac64e17bb6 Mon Sep 17 00:00:00 2001 From: gumi Date: Wed, 31 Jul 2019 11:20:21 -0400 Subject: do not spawn a ghost when dying in the abyss --- world/map/npc/functions/ghost.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'world') diff --git a/world/map/npc/functions/ghost.txt b/world/map/npc/functions/ghost.txt index f020092f..7030d182 100644 --- a/world/map/npc/functions/ghost.txt +++ b/world/map/npc/functions/ghost.txt @@ -12,7 +12,7 @@ function|script|SpawnGhost elif (!(iscollision(getmap(), .@x + 1, .@y))) set .@x, .@x + 1; // right // else on the player - if (@GHOST_MAP$ != "") + if (@GHOST_MAP$ == "070-3") killmonster @GHOST_MAP$, "~GH~" + getcharid(0); set @GHOST_MAP$, getmap(); -- cgit v1.2.3-60-g2f50