4,951
edits
Falterfire (talk | contribs) (Added required items & required dungeon completions to the getSpellUse table) |
Falterfire (talk | contribs) (Slight wording tweak on dungeon requirements) |
||
Line 1,211: | Line 1,211: | ||
if spell.requiredDungeonCompletion ~= nil then | if spell.requiredDungeonCompletion ~= nil then | ||
local dung = Areas.getAreaByID('dungeon', spell.requiredDungeonCompletion[1]) | local dung = Areas.getAreaByID('dungeon', spell.requiredDungeonCompletion[1]) | ||
rowTxt = rowTxt..'<br/>'..Icons.Icon({dung.name, type='dungeon', notext=true, qty=spell.requiredDungeonCompletion[2]})..' | rowTxt = rowTxt..'<br/>'..Icons.Icon({dung.name, type='dungeon', notext=true, qty=spell.requiredDungeonCompletion[2]})..' Clears' | ||
end | end | ||
rowTxt = rowTxt..'||data-sort-value="'..Magic.getSpellTypeIndex(spell.type)..'"|' | rowTxt = rowTxt..'||data-sort-value="'..Magic.getSpellTypeIndex(spell.type)..'"|' |