Module:Items/UseTables: Difference between revisions

Change spellbook -> spellBook to match game data
(Apply fixes)
(Change spellbook -> spellBook to match game data)
Line 673: Line 673:
table.insert(rowPart, '||'..Icons.Icon({spell.name, type=iconType, noicon=true}))
table.insert(rowPart, '||'..Icons.Icon({spell.name, type=iconType, noicon=true}))
table.insert(rowPart, '||data-sort-value="'..spell.level..'"|'..Magic._getSpellRequirements(spell))
table.insert(rowPart, '||data-sort-value="'..spell.level..'"|'..Magic._getSpellRequirements(spell))
table.insert(rowPart, '||data-sort-value="'..spell.spellbook..'"|')
table.insert(rowPart, '||data-sort-value="'..spell.spellBook..'"|')
table.insert(rowPart, Magic.getSpellTypeLink(spell.spellbook))
table.insert(rowPart, Magic.getSpellTypeLink(spell.spellBook))
table.insert(rowPart, '||'..Magic._getSpellStat(spell, 'description'))
table.insert(rowPart, '||'..Magic._getSpellStat(spell, 'description'))
table.insert(rowPart, '||style="text-align:center"|')
table.insert(rowPart, '||style="text-align:center"|')