From b976cc54209283a62c43f2208a62be2809483493 Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Mon, 4 Mar 2013 23:06:38 +0100 Subject: Candor: Fixing mapannounce on the outdoor map It did work only for one round of Candor after server restart, because the variable $@FIGHT_CAVE_LAST was not reset to 0. --- world/map/npc/029-3/parua.txt | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'world/map/npc') diff --git a/world/map/npc/029-3/parua.txt b/world/map/npc/029-3/parua.txt index 69507ebd..78014e98 100644 --- a/world/map/npc/029-3/parua.txt +++ b/world/map/npc/029-3/parua.txt @@ -166,11 +166,8 @@ L_NextRound: goto L_CleanUp; set $@FIGHT_CAVE_POINTS, $@FIGHT_CAVE_LEVEL; - if ($@FIGHT_CAVE_LAST + 30 < $@FIGHT_CAVE_LEVEL) - goto L_Announce; - -L_Return_2: - mapannounce "029-3.gat", "Parua: The next round (level " + $@FIGHT_CAVE_LEVEL + ") is starting with " + $@FIGHT_CAVE_PLAYER_COUNT + " player(s) left alive." , 0; + mapannounce "029-1.gat", "Parua: The next round (level " + $@FIGHT_CAVE_LEVEL + ") is starting with " + $@FIGHT_CAVE_PLAYER_COUNT + " player(s) left alive." , 0; + mapannounce "029-3.gat", "Parua: The next round (level " + $@FIGHT_CAVE_LEVEL + ") is starting with " + $@FIGHT_CAVE_PLAYER_COUNT + " player(s) left alive." , 0; set $@MOB_1_SUMMON, 0; set $@MOB_2_SUMMON, 0; @@ -200,11 +197,6 @@ L_Summon: goto L_MOB6; goto L_Return_1; -L_Announce: - mapannounce "029-1.gat", "Parua: The next round (level " + $@FIGHT_CAVE_LEVEL + ") is starting with " + $@FIGHT_CAVE_PLAYER_COUNT + " player(s) left alive." , 0; - set $@FIGHT_CAVE_LAST, $@FIGHT_CAVE_LAST + 30; - goto L_Return_2; - L_GlobalAnnounce: if ($@FIGHT_CAVE_STATUS == 3) goto L_Five_Minutes; -- cgit v1.2.3-60-g2f50