Major cleanup on breakdown main file

This commit is contained in:
Tercio Jose
2023-04-11 22:03:32 -03:00
parent 4ab2f1241d
commit b946da73bb
15 changed files with 700 additions and 1214 deletions
+2 -2
View File
@@ -9,9 +9,9 @@ function Details:OpenPlayerDetails(window)
if (instance) then
local display, subDisplay = instance:GetDisplay()
if (display == 1) then
instance:AbreJanelaInfo (Details:GetPlayer(false, 1))
Details:OpenBreakdownWindow(instance, Details:GetPlayer(false, 1))
elseif (display == 2) then
instance:AbreJanelaInfo (Details:GetPlayer(false, 2))
Details:OpenBreakdownWindow(instance, Details:GetPlayer(false, 2))
end
end
end
+4
View File
@@ -146,6 +146,10 @@ local spellTable_FieldsToSum = {
["b_dmg"] = true,
["a_amt"] = true,
["a_dmg"] = true,
["totalabsorb"] = true,
["absorbed"] = true,
["overheal"] = true,
["totaldenied"] = true,
}
---get the array of spelltables and sum each spellTable with the first spellTable found or on targetTable
-3
View File
@@ -471,9 +471,6 @@ function _detalhes:ApplyProfile (profile_name, nosave, is_copy)
--update tooltip settings
_detalhes:SetTooltipBackdrop()
--update player detail window
_detalhes:ApplyPDWSkin()
--update the numerical system
_detalhes:SelectNumericalSystem()