|
@@ -13,6 +13,7 @@
|
|
|
//= 0.2- fixed some spelling errors and set zeny,zeny - (@amount * 55000)[Cypress]
|
|
|
//= 0.3- Revised the gambling NPC using the official Aegis script [MasterOfMuppets]
|
|
|
//= for information. Thanks to Zefris for doing it for me.
|
|
|
+//= 0.4- Fixed an exploit. thanks to reddozen [MasterOfMuppets]
|
|
|
//============================================================
|
|
|
|
|
|
mjolnir_02.gat,85,364,3 script Blacksmith Miner 726,{
|
|
@@ -60,7 +61,7 @@ mjolnir_02.gat,85,364,3 script Blacksmith Miner 726,{
|
|
|
set @amount, 0;
|
|
|
input @amount;
|
|
|
if(@amount<1) goto L_Cancel;
|
|
|
- if(@amount*55000>zeny) goto L_BadAmnt;
|
|
|
+ if((@amount*55000>zeny) || (@amount>500)) goto L_BadAmnt;
|
|
|
goto L_Buy;
|
|
|
|
|
|
L_Cancel:
|