Using effective time when displaying tooltips information

This commit is contained in:
Tercio Jose
2023-07-11 19:05:06 -03:00
parent 391d5ad762
commit 5180459d67
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2662,7 +2662,7 @@ function damageClass:RefreshLine(instance, lineContainer, whichRowLine, rank, to
local currentCombat = Details:GetCurrentCombat()
--calculate the actor dps
if ((Details.time_type == 2 and self.grupo) or not Details:CaptureGet("damage") or instance.segmento == -1) then
if ((Details.time_type == 2 and self.grupo) or not Details:CaptureGet("damage") or instance.segmento == -1 or Details.time_type == 3) then
if (instance.segmento == -1 and combat_time == 0) then
local actor = currentCombat(1, self.nome)
if (actor) then
+2 -2
View File
@@ -3273,7 +3273,7 @@ local function GetDpsHps (_thisActor, key)
if (_thisActor [keyname]) then
return _thisActor [keyname]
else
if ((Details.time_type == 2 and _thisActor.grupo) or not Details:CaptureGet("damage")) then
if ((Details.time_type == 2 and _thisActor.grupo) or not Details:CaptureGet("damage") or Details.time_type == 3) then
local dps = _thisActor.total / _thisActor:GetCombatTime()
_thisActor [keyname] = dps
return dps
@@ -3788,7 +3788,7 @@ function Details:envia_relatorio (linhas, custom)
end
--effective ou active time
if (Details.time_type == 2) then
if (Details.time_type == 2 or Details.time_type == 3) then
linhas[1] = linhas[1] .. " [" .. segmentTime .. " EF]"
else
linhas[1] = linhas[1] .. " [" .. segmentTime .. " AC]"