diff options
Diffstat (limited to 'world/map')
-rw-r--r-- | world/map/npc/009-6/brodomir.txt | 10 |
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: |