From 3ee89b68e49cd7fa99b949d9736e52d4613fd49d Mon Sep 17 00:00:00 2001 From: tux9th Date: Sun, 2 Sep 2012 18:01:36 +0200 Subject: 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. --- world/map/npc/009-6/brodomir.txt | 10 +++++++--- 1 file 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: -- cgit v1.2.3-60-g2f50