summaryrefslogtreecommitdiff
path: root/npc/merchants
diff options
context:
space:
mode:
Diffstat (limited to 'npc/merchants')
-rw-r--r--npc/merchants/refine.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/npc/merchants/refine.txt b/npc/merchants/refine.txt
index 78afaa01f..cd69b55d9 100644
--- a/npc/merchants/refine.txt
+++ b/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]";