Using effective time when displaying tooltips information
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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]"
|
||||
|
||||
Reference in New Issue
Block a user