Ice Cream
Re: Ice Cream
The problem lies here as well as with a faulty while loop:
Amount Input:
Weight Check:
The amount is declared as ".@input" not ".@amount. This is a flaw in the official eA script: http://svn.eathena.ws/svn/ea/trunk/npc/ ... ecream.txt. Fixed as of this maintenance.
Amount Input:
Code: Select all
input .@input;
Code: Select all
if(checkweight(536,.@amount) == 0) {
mes "[Ice Cream Maker]";
mes "Dear customer,you look like you're carrying a lot.";
mes "Ice Cream is fine,";
mes "but you must consider your weight";
mes "before making a purchase.";
close;
}