4,951
edits
Falterfire (talk | contribs) (Added p.getCurseTable, p.getAuroraTable, and p.getAncientTable) |
Falterfire (talk | contribs) (fixed an issue with new magic table generation) |
||
Line 292: | Line 292: | ||
result = result..'!!style="width:275px"|Description' | result = result..'!!style="width:275px"|Description' | ||
result = result..'!!Runes' | result = result..'!!Runes' | ||
for i, spell in | local spellList = {} | ||
for i, spell in Shared.skpairs(MagicData.Curses) do | |||
local rowTxt = p._getSpellRow(processSpell('Curses', i), false) | local rowTxt = p._getSpellRow(processSpell('Curses', i), false) | ||
result = result..rowTxt | result = result..rowTxt | ||
Line 305: | Line 306: | ||
result = result..'!!style="width:275px"|Description' | result = result..'!!style="width:275px"|Description' | ||
result = result..'!!Runes' | result = result..'!!Runes' | ||
for i, spell in | for i, spell in Shared.skpairs(MagicData.Auroras) do | ||
local rowTxt = p._getSpellRow(processSpell('Auroras', i), false) | local rowTxt = p._getSpellRow(processSpell('Auroras', i), false) | ||
result = result..rowTxt | result = result..rowTxt | ||
Line 318: | Line 319: | ||
result = result..'!!style="width:275px"|Description' | result = result..'!!style="width:275px"|Description' | ||
result = result..'!!Runes' | result = result..'!!Runes' | ||
for i, spell in | for i, spell in Shared.skpairs(MagicData.Ancient) do | ||
local rowTxt = p._getSpellRow(processSpell('Ancient', i), false) | local rowTxt = p._getSpellRow(processSpell('Ancient', i), false) | ||
result = result..rowTxt | result = result..rowTxt |