diff options
Diffstat (limited to 'world/map/npc/functions/ghost.txt')
-rw-r--r-- | world/map/npc/functions/ghost.txt | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/world/map/npc/functions/ghost.txt b/world/map/npc/functions/ghost.txt index 1439d543..09a10680 100644 --- a/world/map/npc/functions/ghost.txt +++ b/world/map/npc/functions/ghost.txt @@ -1,8 +1,15 @@ function|script|SpawnGhost { + if ($GHOSTS_DISABLED) + return; + if (BaseLevel >= 40 && (getmap() == "026-1" || - getmap() == "027-1")) + getmap() == "027-1" || + getmap() == "027-2" || + getmap() == "027-3" || + getmap() == "027-4" || + getmap() == "027-5")) goto L_Spawn; return; @@ -21,6 +28,6 @@ L_Spawn: set @GHOST_MAP$, getmap(); specialeffect2 39; - monster getmap(), .@x, .@y, strcharinfo(0), 1125, 1, "~GH~" + getcharid(0); + monster getmap(), .@x, .@y, strcharinfo(0), 1136, 1, "~GH~" + getcharid(0); return; } |