Originally posted by [b]David Boy[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=597
/npc/merchants/old_pharmacist.txt
When making orange potions you see this:
CODE
if (countitem(507) < countitem(713)) {
set .@max,countitem(507);
}
if (countitem(508) < countitem(713)) {
set .@max,countitem(508);
} else {
set .@max,countitem(713);
}
Now, when you have item 507 = 1 and 508 = 2 and 713 = 3, the max is 2! Yes, and you just need 1 or more item 507.
Need an 'else' there.
This post has been edited by David Boy: Dec 16 2007, 06:08 PM