4,951
edits
Falterfire (talk | contribs) No edit summary |
Falterfire (talk | contribs) (Added woodcutting handling to getItemSources) |
||
Line 540: | Line 540: | ||
local potionData = SkillData.Herblore.ItemData[item.herbloreMasteryID + 1].herbloreLevel | local potionData = SkillData.Herblore.ItemData[item.herbloreMasteryID + 1].herbloreLevel | ||
table.insert(lineArray, Icons._SkillReq("Herblore", potionData)) | table.insert(lineArray, Icons._SkillReq("Herblore", potionData)) | ||
end | |||
--WoodcuttingCheck | |||
if item.type == 'Logs' then | |||
local treeData = SkillData.Woodcutting[item.id + 1] | |||
local lvl = treeData.level | |||
table.insert(lineArray, Icons._SkillReq("Woodcutting", lvl)) | |||
end | end | ||