summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorCoffee <coffee@coffee-EP45-UD3L.(none)>2011-08-01 21:49:24 -0300
committerCoffee <coffee@coffee-EP45-UD3L.(none)>2011-08-01 21:49:24 -0300
commit532e9455e28d1633697004462b7950c828c2157e (patch)
tree1c4750f0fcdec0404c938d2c6873d2654d27c3c6 /world/map/npc
parentb13e3648b71009c36afe18209d49e0b46309cdf5 (diff)
downloadserverdata-532e9455e28d1633697004462b7950c828c2157e.tar.gz
serverdata-532e9455e28d1633697004462b7950c828c2157e.tar.bz2
serverdata-532e9455e28d1633697004462b7950c828c2157e.tar.xz
serverdata-532e9455e28d1633697004462b7950c828c2157e.zip
Fixes a bug at the fluffy fight. If you logout or warp to another map the fight is over.
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/033-1/kimarr.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt
index 62cbd372..a8b1935c 100644
--- a/world/map/npc/033-1/kimarr.txt
+++ b/world/map/npc/033-1/kimarr.txt
@@ -144,6 +144,7 @@ L_CheckDrops:
end;
L_Hunting:
+ // TODO: limit the number of monsters that can be spawned, to prevent people creating lag with massive amount of monsters
set $@DROP_TIME, 0;
set $@FLUFFY_SPAWN, $@FLUFFY_REDAPPLES + 5 * $@FLUFFY_XMASCAKE + 3 * $@FLUFFY_CAKE + $@FLUFFY_GREENAPPLE;
areamonster "033-1.gat", 79, 29, 88, 42, "", 1020, $@FLUFFY_SPAWN, "Kimarr::onFluffyDeath";
@@ -176,7 +177,8 @@ L_DidntDrop:
L_GotOut:
npctalk "What a strange thing... " + $@FLUFFY_FIGHTER$ + " just disappeared!";
- goto L_CheckRecord;
+ callsub S_Clean;
+ end;
L_Died:
warp "033-1.gat", 77, 34;