17,101
edits
(Update for v1.1) |
(_getSpecialAttackTable: Fix) |
||
Line 168: | Line 168: | ||
for i, spAttRow in ipairs(spAttTable) do | for i, spAttRow in ipairs(spAttTable) do | ||
local spIdx = spAttRow.id | local spIdx = spAttRow.id | ||
local spAtt = attacks | local spAtt = GameData.getEntityByID(attacks, spIdx) | ||
-- Determine if it's the first row for any of our groupings | -- Determine if it's the first row for any of our groupings | ||
local resetKeys = {} | local resetKeys = {} | ||
Line 198: | Line 198: | ||
if firstRow.descType then | if firstRow.descType then | ||
rowSuffix = (rowCounts[spIdx][spAttRow.descType]['rows'] > 1 and '|rowspan="' .. rowCounts[spIdx][spAttRow.descType]['rows'] .. '"') or '' | rowSuffix = (rowCounts[spIdx][spAttRow.descType]['rows'] > 1 and '|rowspan="' .. rowCounts[spIdx][spAttRow.descType]['rows'] .. '"') or '' | ||
local spAttDesc = spAtt | local spAttDesc = spAtt.description | ||
--Adding the time between hits and total duration as a note at the end of the special attack description | --Adding the time between hits and total duration as a note at the end of the special attack description | ||
local spAttInterval = spAtt.attackInterval ~= nil and spAtt.attackInterval or -1 | local spAttInterval = spAtt.attackInterval ~= nil and spAtt.attackInterval or -1 |