Module:Skills: Difference between revisions

getThievingSourcesForItem: Fix area unique drops
(Remove ItemData)
(getThievingSourcesForItem: Fix area unique drops)
Line 83: Line 83:
for j, drop in pairs(area.uniqueDrops) do
for j, drop in pairs(area.uniqueDrops) do
if drop.id == itemID then
if drop.id == itemID then
for k, npcID in pairs(area.npcs) do
for k, npcID in ipairs(area.npcIDs) do
areaNPCs[npcID] = drop.quantity
areaNPCs[npcID] = drop.quantity
end
end