FIX: Only 1 lootdrop per mob
Comment these lines out in loottables.cpp and it will go through the whole loot list for the mob, rather than just hitting the 1st one then falling out. Theres a problem with the rand() being used, so you will always end up with the item though.
How is it intended to work? I would think it would be if (rand%100 < (probability*10)
probabilty appears to be 1 for most items on the list, so setting it to probability*10, would give at least a 10% chance for each item in the list... Any thoughts?
144,145c144,145
< mysql_free_result(result);
< return;
---
> //mysql_free_result(result);
> //return;
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
|