892
edits
m (typo) |
m (nil) |
||
Line 56: | Line 56: | ||
table.insert(rowTxt, Monsters._getMonsterMaxHit(monster)) | table.insert(rowTxt, Monsters._getMonsterMaxHit(monster)) | ||
table.insert(rowTxt, monster.attackType) | table.insert(rowTxt, monster.attackType) | ||
local hasSpecialAttack = false | local hasSpecialAttack = false | ||
local spAtks = {} | local spAtks = {} | ||
local spAtksChance = {} | local spAtksChance = {} | ||
for _, spAtk in pairs(monster.specialAttack) do | for _, spAtk in pairs(monster.specialAttack or {}) do | ||
hasSpecialAttack = true | hasSpecialAttack = true | ||
table.insert(spAtk, spAtk.name) | table.insert(spAtk, spAtk.name) |
edits