Originally posted by [b]Slimm[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2424
CODE
//check if you can produce all three, if not, then fail:
if (!skill_can_produce_mix(sd,970,-1, 100) //100 Alcohol
|| !skill_can_produce_mix(sd,7136,-1, 50) //50 Acid Bottle
|| !skill_can_produce_mix(sd,7135,-1, 50) //50 Flame Bottle
) {
clif_skill_fail(sd,skillid,0,0);
break;
}
When using twilight Pharmacy without enough Empty Bottle for all 3 produce types, but enough for every one of them, skill not fail, but produce only that types, which haves enough source.
With 100-149 empty bottle's it produces only Alcohol, with 150-199 it produces Alcohol and Acid Bottles.