Anonymous

Module:Magic: Difference between revisions

From Melvor Idle
formatRuneList: Fix quantity reference
(getSpellsUsingItem: Correct typo)
(formatRuneList: Fix quantity reference)
Line 153: Line 153:
         local rune = Items.getItemByID(req.id)
         local rune = Items.getItemByID(req.id)
         if rune ~= nil then
         if rune ~= nil then
             table.insert(runeList, Icons.Icon({rune.name, type='item', notext=true, qty=req.qty}))
             table.insert(runeList, Icons.Icon({rune.name, type='item', notext=true, qty=req.quantity}))
         end
         end
     end
     end