Originally posted by [b]~AnnieRuru~[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=126
http://svn.eathena.ws/bugs/browser/trunk/n...tom/breeder.txtjust a minor typo
[codebox]L_Cart:
if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice) && checkcart() == 0)
goto L_Cart_Ok; if(getskilllv(39)<1) goto L_Need_Skill; mes "[Universal Rental Npc]";
mes "Sorry " + strcharinfo(0) + ", but I only rent carts to people with the Merchant job root, who have enough skills to handle a cart.";
close;
L_Cart_Ok:
setcart;
goto L_Quit2;
L_Quit2:
mes "[Universal Rental Npc]";
mes strcharinfo(0) + ", please come again when you want another...";
close;[/codebox]if I am a merchant, and no cart
the dialog will be -> AnnieRuru, please come again when you want another ....
but I don't receive any cart
the fix shall be move the red line to after L_Cart_Ok
[codebox]L_Cart:
if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice) && checkcart() == 0) goto L_Cart_Ok;
mes "[Universal Rental Npc]";
mes "Sorry " + strcharinfo(0) + ", but I only rent carts to people with the Merchant job root, who have enough skills to handle a cart.";
close;
L_Cart_Ok:
if(getskilllv(39)<1) goto L_Need_Skill;
setcart;
goto L_Quit2;[/codebox]
same thing goes to falcon and pecopeco