2,875
edits
m (WIP (partially add level to output table)) |
m (Add magic level requirement) |
||
Line 803: | Line 803: | ||
if typeText == nil then typeText = type end | if typeText == nil then typeText = type end | ||
table.insert(rowPart, '\r\n|style="text-align: left;" data-sort-value="'..typeText..'"|'..expIcon..type) | table.insert(rowPart, '\r\n|style="text-align: left;" data-sort-value="'..typeText..'"|'..expIcon..type) | ||
table.insert(rowPart, '\r\n|' ..level ..'"|') | |||
table.insert(rowPart, '\r\n|style="text-align: right;" data-sort-value="'..qty..'"|'..Shared.formatnum(minqty)) | table.insert(rowPart, '\r\n|style="text-align: right;" data-sort-value="'..qty..'"|'..Shared.formatnum(minqty)) | ||
if qty ~= minqty then table.insert(rowPart, ' - '..Shared.formatnum(qty)) end | if qty ~= minqty then table.insert(rowPart, ' - '..Shared.formatnum(qty)) end | ||
Line 1,018: | Line 1,018: | ||
source = Icons.Icon({spell.name, type=Magic._getSpellIconType(spell)}), | source = Icons.Icon({spell.name, type=Magic._getSpellIconType(spell)}), | ||
type = magicType, | type = magicType, | ||
level = Icons._SkillReq("Magic", spell.level), | |||
minqty = thisGem.minQuantity, | minqty = thisGem.minQuantity, | ||
qty = thisGem.maxQuantity, | qty = thisGem.maxQuantity, |
edits