From b8cfd6d94d48fb5e20e2ace923d4bb07328d3f48 Mon Sep 17 00:00:00 2001 From: gumi Date: Tue, 17 Jul 2018 14:37:28 -0400 Subject: nerf the swamp ghost --- world/map/npc/functions/ghost.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'world/map/npc/functions') 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; } -- cgit v1.2.3-60-g2f50