Bug Fixed

This commit is contained in:
Tercio Jose
2023-07-18 18:19:38 -03:00
parent bfbe4ca852
commit bfdce8071b
6 changed files with 29 additions and 592 deletions
@@ -205,7 +205,8 @@ function Details:GetDisplayTypeFromBreakdownWindow()
return breakdownWindowFrame.atributo, breakdownWindowFrame.sub_atributo
end
--return the actor object in use by the breakdown window
---return the actor object in use by the breakdown window
---@return actor actorObject
function Details:GetActorObjectFromBreakdownWindow()
return breakdownWindowFrame.jogador
end
@@ -218,6 +219,12 @@ function Details:IsBreakdownWindowOpen()
return breakdownWindowFrame.ativo
end
function Details222.BreakdownWindow.RefreshPlayerScroll()
if (breakdownWindowFrame.playerScrollBox) then
breakdownWindowFrame.playerScrollBox:Refresh()
end
end
---open the breakdown window
---@param self details
---@param instanceObject instance
+1 -1
View File
@@ -2250,7 +2250,7 @@ local iconFrame_OnEnter = function(self)
end
end
if (actor.spec == 1473) then
if (actor.spec == 1473 and actor.tipo == DETAILS_ATTRIBUTE_DAMAGE) then
local damageDone = math.floor(actor.total + actor.extra_bar)
GameCooltip:AddLine("Evoker Predicted Damage:", Details:Format(damageDone) .. " (" .. Details:Format(damageDone / Details:GetCurrentCombat():GetCombatTime()) .. ")", 1, "white")
GameCooltip:AddIcon([[]], 1, 1, 1, 20)