i was reading the sources to have an idea what i need for warlord plate.
And the zeny comparison needs to befixed.
(compare if >20k, but charge 100k)
What happens actually when i try to buy n armorplate with 21k?
The Light Plate needs to be fixed as well.
Code: Select all
L_Peter_Warlord_Plate:
if (zeny <20000) goto L_Peter_NotEnough_Zeny;
if (countitem("IngotIron") < 15) goto L_Peter_NotEnough_Ingot;
if (countitem("Coal") < 30) goto L_Peter_NotEnough_Coal;
getinventorylist;
if (@inventorylist_count == 100) goto L_Peter_TooMany;
set zeny, zeny - 100000;
delitem "IngotIron", 15;
getitem "WarlordPlate", 1;
mes "[Peter]";
mes "\"Here you go!\"";
close;
EDIT:
and coal should be removed, when it is needed!