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
+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]"