summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2012-02-02 07:59:15 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2012-02-02 23:12:55 +0100
commit00cdd288ead37d3d81173454c91f2e9e79126679 (patch)
treefefee3fb81c3c04bbb2df6d7af4379bf01ad10a0 /world/map
parent0f03376455cd71dd32a3a55f05e3d6f00846a932 (diff)
downloadserverdata-00cdd288ead37d3d81173454c91f2e9e79126679.tar.gz
serverdata-00cdd288ead37d3d81173454c91f2e9e79126679.tar.bz2
serverdata-00cdd288ead37d3d81173454c91f2e9e79126679.tar.xz
serverdata-00cdd288ead37d3d81173454c91f2e9e79126679.zip
Fixing bug caused by lag during warp
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/033-1/kimarr.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt
index 8cb3a172..9365060e 100644
--- a/world/map/npc/033-1/kimarr.txt
+++ b/world/map/npc/033-1/kimarr.txt
@@ -6,9 +6,8 @@
// Variables:
// global $@Fluffy_Hunting - state of the quest
// 0: nobody is hunting
-// 1: somebody is hunting. The script checks every second if there is food on the ground.
-// 2: not used anymore, was: food dropped but no spawn yet
-// 3: not used anymore, was: monsters have been spawned
+// 1-2: 2 timer iterations to give time for the warp to finish.
+// 3: somebody is hunting. The script checks every second if there is food on the ground.
// global $@Fluffy_Time - the number of seconds since you entered the area
// global $@Fluffy_Spawn - how many fluffies have been spawned
// global $@Fluffy_Kills - how many fluffies you have killed so far
@@ -174,6 +173,12 @@ L_Attention:
end;
OnTimer1000:
+// Give 3 seconds, so the server can warp and the player can get ready
+ if ($@Fluffy_Hunting == 3)
+ goto L_Action;
+ set $@Fluffy_Hunting, $@Fluffy_Hunting + 1;
+ goto L_ContinueTimer;
+L_Action:
// Checking if player is logged
if (attachrid($@Fluffy_FighterID) == 0)
goto L_GotOut;