17,101
edits
(_getSpellDescription: Support enemyModifiers (for curses)) |
(Fix issue with generation of curse table) |
||
Line 148: | Line 148: | ||
if spell.enemyModifiers ~= nil then | if spell.enemyModifiers ~= nil then | ||
local enemyModText = Constants.getModifiersText(spell.enemyModifiers, false) | local enemyModText = Constants.getModifiersText(spell.enemyModifiers, false) | ||
result = result .. (string.len(result) > 0 and ' | result = result .. (string.len(result) > 0 and '<br/>' or '') .. 'Enemies are inflicted with:<br/>' .. enemyModText | ||
end | end | ||
elseif spell.type == 'Spells' then | elseif spell.type == 'Spells' then |