4,951
edits
Falterfire (talk | contribs) (Reorganizing to hopefully fix issue with boss monsters getting left out) |
Falterfire (talk | contribs) (typing iz hard) |
||
Line 612: | Line 612: | ||
end | end | ||
--Make sure the final monster in the dungeon gets counted | --Make sure the final monster in the dungeon gets counted | ||
if i == Shared.tableCount( | if i == Shared.tableCount(area.monsters) then | ||
local name = lastMonster.name | local name = lastMonster.name | ||
table.insert(monsterList, Icons.Icon({lastMonster.name, type='monster', qty=count})) | table.insert(monsterList, Icons.Icon({lastMonster.name, type='monster', qty=count})) |