summaryrefslogtreecommitdiff
path: root/npc/merchants
diff options
context:
space:
mode:
authorShinigami <Shinigami@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-08 02:25:21 +0000
committerShinigami <Shinigami@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-08 02:25:21 +0000
commit5c17cb560196f4ec47279c492843c6c417c5f748 (patch)
tree5024fa159fe8c8a1a26303c379104358ddee904a /npc/merchants
parent9c1bdcb9d686c6c5d047d3594f16ef52ccb0e378 (diff)
downloadhercules-5c17cb560196f4ec47279c492843c6c417c5f748.tar.gz
hercules-5c17cb560196f4ec47279c492843c6c417c5f748.tar.bz2
hercules-5c17cb560196f4ec47279c492843c6c417c5f748.tar.xz
hercules-5c17cb560196f4ec47279c492843c6c417c5f748.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@57 54d463be-8e91-2dee-dedb-b68131a5f0ec
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]";