summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/ghost.txt
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-07-17 14:37:28 -0400
committergumi <git@gumi.ca>2018-07-17 14:37:28 -0400
commitb8cfd6d94d48fb5e20e2ace923d4bb07328d3f48 (patch)
treed06a9170e4defb2c7ac51ef973861b6df1855d90 /world/map/npc/functions/ghost.txt
parent64ae495730b4df7d85256ff62ecb878f0e70a097 (diff)
downloadserverdata-b8cfd6d94d48fb5e20e2ace923d4bb07328d3f48.tar.gz
serverdata-b8cfd6d94d48fb5e20e2ace923d4bb07328d3f48.tar.bz2
serverdata-b8cfd6d94d48fb5e20e2ace923d4bb07328d3f48.tar.xz
serverdata-b8cfd6d94d48fb5e20e2ace923d4bb07328d3f48.zip
nerf the swamp ghost
Diffstat (limited to 'world/map/npc/functions/ghost.txt')
-rw-r--r--world/map/npc/functions/ghost.txt11
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;
}