Issue information

Issue ID
#2424
Status
Fixed
Severity
Fair
Started
Hercules Elf Bot
Nov 5, 2008 17:55
Last Post
Hercules Elf Bot
Apr 4, 2012 8:10
Confirmation
N/A

Hercules Elf Bot - Nov 5, 2008 17:55

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.

Hercules Elf Bot - Mar 23, 2012 4:07

Originally posted by [b]Ind[/b]
Fixed in [rev=15770]