Minion damage conversion to player is now a flag and mod pair like cast speed/spell damage
Added tag conversion support so minion damage while player affected by herald works, and limits like on Indigon are correctly converted to have a max associated with the conversion rate Added ModTools method to get the 'tags' from a mod
This commit is contained in:
@@ -164,3 +164,13 @@ end
|
||||
function modLib.formatMod(mod)
|
||||
return modLib.formatValue(mod.value) .. " = " .. modLib.formatModParams(mod)
|
||||
end
|
||||
|
||||
function modLib.extractModTags(mod)
|
||||
local modIndex = 1
|
||||
local list = {}
|
||||
while mod[modIndex] do
|
||||
list[modIndex] = mod[modIndex]
|
||||
modIndex = modIndex + 1
|
||||
end
|
||||
return list
|
||||
end
|
||||
Reference in New Issue
Block a user