17,101
edits
No edit summary |
(_getConstellationModifiers: Adjust output to include keys modifiers/enemyModifiers, enabling differentation between player & enemy modifiers) |
||
Line 303: | Line 303: | ||
if mods ~= nil then | if mods ~= nil then | ||
for _, mod in ipairs(mods) do | for _, mod in ipairs(mods) do | ||
local newModObj = {} | |||
local multValue = mod.maxCount | local multValue = mod.maxCount | ||
local subKeys = { 'modifiers', 'enemyModifiers' } | local subKeys = { 'modifiers', 'enemyModifiers' } | ||
Line 328: | Line 329: | ||
end | end | ||
end | end | ||
newModObj[subKey] = modAdj | |||
end | end | ||
end | end | ||
table.insert(result[keyID], newModObj) | |||
end | end | ||
end | end |