4,951
edits
Falterfire (talk | contribs) (added a p.getItemMonsterSources for use in a table for Mazunki) |
Falterfire (talk | contribs) (changed a couple field names) |
||
Line 987: | Line 987: | ||
if chance > 0 then | if chance > 0 then | ||
-- Item drops when the monster is killed | -- Item drops when the monster is killed | ||
table.insert(resultArray, { | table.insert(resultArray, {id = monster.id, dropWt = chance, totalWt = weight, minQty = minQty, maxQty = maxQty}) | ||
end | end | ||
end | end |