Originally posted by [b][NITRO]FOX[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4343
NPC Defaria (mid_camp 256, 272)
http://img294.imageshack.us/img294/3516/sc...tlantis000v.jpghttp://img685.imageshack.us/img685/9422/sc...tlantis001a.jpgCODE
if ((countitem(516) > 19) && (countitem(7201) > 29)) {
mes "[Defaria]";
mes "Oh, you've really brought what I wanted!";
mes "Please give them to me..";
mes "No, wait, can you pile them on the firewood over there?";
next;
mes "[Defaria]";
mes "Make it a nice, neat pile, please.";
mes "..Oh, you forgot to put the sweet potatoes on top.";
mes "Yes, good. That's perfect.";
next;
mes "[Defaria]";
mes "..Hopefully I can make a fire with your nice logs....";
specialeffect EF_BEGINSPELL2;
next;
specialeffect EF_FIREWALL,AREA,"Wet Firewood#moc2";
specialeffect EF_TORCH,AREA,"Wet Firewood#moc2";
mes "[Defaria]";
mes "Oh, this is as great as I'd hoped!";
mes "I guess my magic hasn't gotten that rusty after all..";
delitem 516,20; //Sweet_Potato
delitem 7201,30; //Log
516) > 19) && (countitem(7201) > 29
Not 19, 20.
Not 29, 30.
NPC said
QUOTE
mes "you should bring me ^4d4dff20 Sweet Potatoes and 30 Logs^000000 in return.";
516 is Potatoe, is wrong
Correct is 633, Sweet Potatoes...