17,101
edits
(getMonsterPassives: Fix detection for presence of passive abilities) |
(getMonsterPassives: Improve passive ability detection further) |
||
Line 581: | Line 581: | ||
local result = '' | local result = '' | ||
if monster.passiveID | if type(monster.passiveID) == 'table' and Shared.tableCount(monster.passiveID) > 0 then | ||
result = result .. '===Passives===' | result = result .. '===Passives===' | ||
for i, passiveID in pairs(monster.passiveID) do | for i, passiveID in pairs(monster.passiveID) do |