Sort by critpercent and casts are now working; new class 'SpellTable'

This commit is contained in:
Tercio Jose
2023-04-21 15:09:46 -03:00
parent 71076bffee
commit 36e5d2978f
8 changed files with 132 additions and 78 deletions
+4 -1
View File
@@ -4569,6 +4569,7 @@ function atributo_damage:MontaInfoDamageDone() --I guess this fills the list of
spellTables = {spellTable}, --sub spell tables to show if the spell is expanded
petNames = {""},
}
detailsFramework:Mixin(bkSpellData, Details.SpellTableMixin)
breakdownSpellDataList[#breakdownSpellDataList+1] = bkSpellData
alreadyAdded[spellName] = #breakdownSpellDataList
@@ -4613,6 +4614,8 @@ function atributo_damage:MontaInfoDamageDone() --I guess this fills the list of
spellTables = {spellTable},
petNames = {petName},
}
detailsFramework:Mixin(bkSpellData, Details.SpellTableMixin)
breakdownSpellDataList[#breakdownSpellDataList+1] = bkSpellData
alreadyAdded[spellName] = #breakdownSpellDataList
end
@@ -4626,7 +4629,7 @@ function atributo_damage:MontaInfoDamageDone() --I guess this fills the list of
for i = 1, #breakdownSpellDataList do
---@type breakdownspelldata
local bkSpellData = breakdownSpellDataList[i]
Details:SumSpellTables(bkSpellData.spellTables, bkSpellData)
Details.SpellTableMixin.SumSpellTables(bkSpellData.spellTables, bkSpellData)
end
breakdownSpellDataList.totalValue = actorTotal