Major cleanup on breakdown main file
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user