瀏覽代碼

* Bug fixes for the turbo track.
- Fixes both the point exchanger for exp when selecting "No" and also fixes the infinite loop in the game Guide.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11549 54d463be-8e91-2dee-dedb-b68131a5f0ec

L0ne_W0lf 17 年之前
父節點
當前提交
97954c8f28
共有 2 個文件被更改,包括 10 次插入5 次删除
  1. 3 0
      npc/Changelog.txt
  2. 7 5
      npc/other/turbotrack/Turbo_Track.txt

+ 3 - 0
npc/Changelog.txt

@@ -1,6 +1,9 @@
 Date		Added
 ======
 2007/10/22
+	* Rev. 11548 Bug fixes for the turbo track. [L0ne_W0lf]
+	- Fixes both the point exchanger for exp when selecting "No" and
+	  also fixes the infinite loop in the game Guide.
 	* Rev. 11545 Implemented Al De Baran turbo Track. Please report any errors. [L0ne_W0lf]
 2007/10/20
 	* Small fixes to Hugel and Lighthalzen quests. [SinSloth]

+ 7 - 5
npc/other/turbotrack/Turbo_Track.txt

@@ -3,7 +3,7 @@
 //===== By: ==================================================
 //= L0ne_W0lf
 //===== Current Version: =====================================
-//= 1.0
+//= 1.1
 //===== Compatible With: =====================================
 //= eAthena SVN
 //===== Description: ========================================= 
@@ -11,6 +11,8 @@
 //= General Turbo Track NPCs, includes Kafra and Tool Merchant
 //===== Additional Comments: =================================
 //= 1.0 First version. [L0ne_W0lf]
+//= 1.1 Fixed exp rewarding working backwards.[L0ne_W0lf]
+//=	Fixed a bug in the while loop in the guide.
 //============================================================
 
 turbo_room,130,92,3	script	Kafra Staff#tt	115,{
@@ -110,7 +112,8 @@ turbo_room,99,120,4	script	TBT_Guide#Broadcast	124,{
 			mes "game mode. Would you like to";
 			mes "learn more about a certain course? ^FFFFFFcobo^000000";
 			next;
-			while (1) {
+			set .@exitloop,1;
+			while (.@exitloop) {
 				switch(select("Log Bridge and Cube Hills:Cursed Desert and Flasher Maze:Single Snail and Invisible Maze:Snake Dice and Small Cave:No, thanks.")) {
 				case 1:
 					mes "[Turbo Track Guide]";
@@ -183,10 +186,9 @@ turbo_room,99,120,4	script	TBT_Guide#Broadcast	124,{
 					mes "best of luck to";
 					mes "you in the races!";
 					next;
-					set .@exitloop,1;
+					set .@exitloop,0;
 				}
 			}
-			if (.@exitloop) break;
 			mes "[Turbo Track Guide]";
 			mes "Would you like to";
 			mes "know anything else";
@@ -628,7 +630,7 @@ turbo_room,93,117,5	script	Point Exchange Helper	125,{
 				mes "like to exchange your Turbo";
 				mes "Track Points for Experience?";
 				next;
-				if (select("No:Yes") == 1) {
+				if (select("No:Yes") == 2) {
 					if (tt_point < 40) {
 						mes "[Item Exchange Helper]";
 						mes "I'm sorry, but you do";