Module:Skills/Gathering: Difference between revisions

m
Remove debug logging
(buildAstrologyValueTable: Add cumulative chance column)
m (Remove debug logging)
Line 642: Line 642:
--If an area drops the item, add all the NPC ids to the list so we can add them later
--If an area drops the item, add all the NPC ids to the list so we can add them later
if not result then
if not result then
for i, area in pairs(SkillData.Thieving.Areas) do
for i, area in pairs(SkillData.Thieving.Areas) do
for j, drop in pairs(area.uniqueDrops) do
for j, drop in pairs(area.uniqueDrops) do
if drop.itemID == itemID then
if drop.itemID == itemID then
Line 732: Line 732:
useMod = skill.hasMastery
useMod = skill.hasMastery
end
end
mw.logObject(skillID)
if useMod then
if useMod then
table.insert(uMods, Constants._getModifierText(modName, {skillID, maxModifier}, false))
table.insert(uMods, Constants._getModifierText(modName, {skillID, maxModifier}, false))