Module:Items: Difference between revisions

Use masteryID instead of miningID
m (reverted to latest version by Falterfire)
(Use masteryID instead of miningID)
Line 261: Line 261:
   if item.miningID ~= nil then
   if item.miningID ~= nil then
     skill = 'Mining'
     skill = 'Mining'
     lvl = SkillData.Mining[item.miningID + 1].level
     lvl = SkillData.Mining[item.masteryID[2] + 1].level
     time = 3
     time = 3
     xp = item.miningXP
     xp = item.miningXP
Line 641: Line 641:
   --MineCheck:
   --MineCheck:
   if item.miningID ~= nil then
   if item.miningID ~= nil then
     table.insert(lineArray, Icons._SkillReq("Mining", SkillData.Mining[item.miningID + 1].level))
     table.insert(lineArray, Icons._SkillReq("Mining", SkillData.Mining[item.masteryID[2] + 1].level))
   end
   end


17

edits