summaryrefslogtreecommitdiff
path: root/world/map/npc/009-6/brodomir.txt
diff options
context:
space:
mode:
authortux9th <mr.x@aon.at>2012-09-02 18:01:36 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2012-09-06 10:11:23 +0200
commit3ee89b68e49cd7fa99b949d9736e52d4613fd49d (patch)
treef46efd75ef3af34e7ada15229118a80a9a5e28ca /world/map/npc/009-6/brodomir.txt
parenta0ac34cf122f46d8864fb21f881e0df9e478f84e (diff)
downloadserverdata-3ee89b68e49cd7fa99b949d9736e52d4613fd49d.tar.gz
serverdata-3ee89b68e49cd7fa99b949d9736e52d4613fd49d.tar.bz2
serverdata-3ee89b68e49cd7fa99b949d9736e52d4613fd49d.tar.xz
serverdata-3ee89b68e49cd7fa99b949d9736e52d4613fd49d.zip
from now on dead players are going to be warped from the cave out of the cave to 009-3 instead of beeing warped to 009-6. This will prevent corpses being warped around in circles.
Diffstat (limited to 'world/map/npc/009-6/brodomir.txt')
-rw-r--r--world/map/npc/009-6/brodomir.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/world/map/npc/009-6/brodomir.txt b/world/map/npc/009-6/brodomir.txt
index e7621287..eab5d790 100644
--- a/world/map/npc/009-6/brodomir.txt
+++ b/world/map/npc/009-6/brodomir.txt
@@ -177,12 +177,12 @@ L_Warpfail:
L_Check:
if (getareausers("009-5.gat", 20, 20, 80, 80, 1) > 1)
end;
- areatimer "009-5.gat", 20, 20, 80, 80, 10, "Brodomir::onReward";
+ areatimer "009-5.gat", 20, 20, 80, 80, 0, "Brodomir::onReward";
goto L_End;
onReward:
if (isdead())
- end;
+ goto L_Dead;
message strcharinfo(0), "Congratulations you won!";
set Zeny, Zeny + ($@BRODOMIR_MONEY + 150 * $@BRODOMIR_PLAYERS);
getitem $@BRODOMIR_ITEM$, $@BRODOMIR_ITEM_AMOUNT;
@@ -193,8 +193,12 @@ onReward:
set $@BRODOMIR_PLAYERS, 0;
end;
+L_Dead:
+ warp "009-3.gat", 155,83;
+ end;
+
L_End:
- mapwarp "009-5.gat", "009-6.gat", 162, 81;
+ mapwarp "009-5.gat", "009-6.gat", 36, 42;
goto L_Cleanup;
L_NotEnoughPlayers: