Originally posted by [b]akd[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2427
Here is a small bug on the mercenary_rent.txt script
On the
CODE
prontera,30,337,4 script Mercenary Merchant#Spear::MercMerchant 700,{
In the switch we can find this:
CODE
case 3:
mes "[Mercenary Goods Merchant]";
mes "Mercenary Concentration";
mes "Potions each cost 560 zeny.";
mes "How many would you like?";
next;
input .@input; //,0,10000;
callfunc "F_PurchaseMercItem",12241,560;
Because of this, you have to enter twice the number of concentration potion you want to purchase.
It asks again here
CODE
function script F_PurchaseMercItem {
input .@input;
if( .@input == 0 )
You just need to remove the first input call.
CODE
case 3:
mes "[Mercenary Goods Merchant]";
mes "Mercenary Concentration";
mes "Potions each cost 560 zeny.";
mes "How many would you like?";
next;
- input .@input; //,0,10000;
callfunc "F_PurchaseMercItem",12241,560;