17,101
edits
Falterfire (talk | contribs) (CraftReq now accounts for costs including coins) |
(herbloreLevel -> level to resolve a bunch of script errors) |
||
Line 95: | Line 95: | ||
local potionID = item.masteryID[2] | local potionID = item.masteryID[2] | ||
local potionData = SkillData.Herblore.ItemData[potionID + 1] | local potionData = SkillData.Herblore.ItemData[potionID + 1] | ||
lvl = potionData. | lvl = potionData.level | ||
xp = potionData.herbloreXP | xp = potionData.herbloreXP | ||
time = 2 | time = 2 | ||
Line 494: | Line 494: | ||
--HerbCheck: | --HerbCheck: | ||
if item.masteryID ~= nil and item.masteryID[1] == 19 then | if item.masteryID ~= nil and item.masteryID[1] == 19 then | ||
local potionData = SkillData.Herblore.ItemData[item.masteryID[2] + 1]. | local potionData = SkillData.Herblore.ItemData[item.masteryID[2] + 1].level | ||
table.insert(lineArray, Icons._SkillReq("Herblore", potionData)) | table.insert(lineArray, Icons._SkillReq("Herblore", potionData)) | ||
end | end |