Quellcode durchsuchen

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

Shinigami vor 20 Jahren
Ursprung
Commit
e705f8673f
1 geänderte Dateien mit 8 neuen und 1 gelöschten Zeilen
  1. 8 1
      npc/merchants/refine.txt

+ 8 - 1
npc/merchants/refine.txt

@@ -17,6 +17,8 @@
 //= Christopher the blacksmith in Geffen.  Edited some dialogue [kobra_k88]
 //= 1.3 New Payon Locations [Darkchild]
 //= Corrected zeny subtraction thx to jpnmania77.[kobra_k88]
+//= 1.3a Temporary corrected an expliot.  Need to check sources 
+//= to fully fix bug [Shinigami]
 //============================================================
 
 
@@ -80,11 +82,12 @@ geffen_in.gat,110,172,2	script	Christopher	63,
 		sM_Furn:
 			mes "[Christopher Guillenrow]";
 			mes "This is a prerequisite for Metal refining!!";
-			mes "So, how many do ye wish to buy? If you want to quit, please input the number '0'.";
+			mes "So, how many do ye wish to buy? If you want to quit, please input the number '0'. However, you the maximum amount you can buy is 1000";
 			set @input, 0;
 			input @input;
 			next;
 			if(@input < 1 ) goto sM_Menu1;
+			if(@input > 1000 ) goto sM_Max;
 			if(Zeny < 150 * @input) goto L_NoZeny;
 			set Zeny, Zeny - (150 * @input);
 			getitem 612, @input;
@@ -104,6 +107,10 @@ geffen_in.gat,110,172,2	script	Christopher	63,
 			set Zeny, Zeny - 5000;
 			getitem 615,1;
 			goto L_Thanks;
+		sM_Max:
+			mes "[Christopher Guillenrow]";
+			mes "Sorry, you can't buy more than 1000 furnace at a time.";
+			close;
 
 	M_2:
 		mes "[Christopher Guillenrow]";