4,951
edits
Falterfire (talk | contribs) (more right-aligning) |
Falterfire (talk | contribs) (magicLevelRequired->level to match v0.22) |
||
Line 627: | Line 627: | ||
table.insert(rowPart, Icons.Icon({spell.name, type=iconType, notext=true, size=50})) | table.insert(rowPart, Icons.Icon({spell.name, type=iconType, notext=true, size=50})) | ||
table.insert(rowPart, '||[['..spell.name..']]') | table.insert(rowPart, '||[['..spell.name..']]') | ||
table.insert(rowPart, '||data-sort-value="'..spell. | table.insert(rowPart, '||data-sort-value="'..spell.level..'"|'..Icons._SkillReq('Magic', spell.level)) | ||
--Handle required items/dungeon clears | --Handle required items/dungeon clears | ||
if spell.requiredItem ~= nil and spell.requiredItem >= 0 then | if spell.requiredItem ~= nil and spell.requiredItem >= 0 then |