diff options
author | mekolat <mekolat@gmail.com> | 2014-11-09 18:27:48 -0500 |
---|---|---|
committer | mekolat <mekolat@gmail.com> | 2014-11-09 18:35:45 -0500 |
commit | 92bcfe4faa8a6451a908b667ab02128868b2c555 (patch) | |
tree | f000bbafc6f5e6274619f0a9926da1a82e4e743b /world | |
parent | 0ca075ae66c4e6a983e1f25f6e63a39ee12a568e (diff) | |
download | classic-serverdata-92bcfe4faa8a6451a908b667ab02128868b2c555.tar.gz classic-serverdata-92bcfe4faa8a6451a908b667ab02128868b2c555.tar.bz2 classic-serverdata-92bcfe4faa8a6451a908b667ab02128868b2c555.tar.xz classic-serverdata-92bcfe4faa8a6451a908b667ab02128868b2c555.zip |
urgent candor fix
Diffstat (limited to 'world')
-rw-r--r-- | world/map/npc/029-3/parua.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/world/map/npc/029-3/parua.txt b/world/map/npc/029-3/parua.txt index 3047396e..4d8dc384 100644 --- a/world/map/npc/029-3/parua.txt +++ b/world/map/npc/029-3/parua.txt @@ -36,9 +36,9 @@ L_Paying: goto L_NotEnough; // Do not charge the money if the fight or the announces were already started by someone else if ($@FIGHT_CAVE_STATUS != 0) - close; + goto L_AlreadyStarted; if ($@FIGHT_CAVE_PAID != 0) - close; + goto L_AlreadyStarted; set Zeny, Zeny - @FIGHT_CAVE_COST; set $@FIGHT_CAVE_PAID, 1; goto L_StartFight; @@ -76,13 +76,13 @@ L_AcceptHelp: L_TimeFightStart: // Do not charge the money if the fight or the announces were already started by someone else if ($@FIGHT_CAVE_STATUS != 0) - close; + goto L_AlreadyStarted; if (getmapusers("029-3.gat") < 5) goto L_NotEnoughPlayers; if (Zeny < @FIGHT_CAVE_COST + @FIGHT_CAVE_ANNOUNCE_COST) goto L_NotEnough_Announce; if ($@FIGHT_CAVE_PAID != 0) - close; + goto L_AlreadyStarted; set Zeny, Zeny - (@FIGHT_CAVE_COST + @FIGHT_CAVE_ANNOUNCE_COST); set $@FIGHT_CAVE_PAID, 1; set $@SPONSOR$, strcharinfo(0); @@ -325,6 +325,7 @@ L_CleanUp: mapannounce "029-1.gat", "Parua:* The dungeon is now ready for its next victims.", 0; areatimer "029-3.gat", 20, 20, 70, 60, 10, "Parua::OnReward"; set $@FIGHT_CAVE_STATUS, 0; + set $@FIGHT_CAVE_PAID, 0; set $@FIGHT_CAVE_PLAYER_COUNT, 0; set $@FIGHT_CAVE_LEVEL, 1; set $@FIGHT_CAVE_ROUND_TIMER, 0; |