More fixes for real time dps

This commit is contained in:
Tercio Jose
2023-07-11 17:07:07 -03:00
parent fa65530a7c
commit 50dc90cc6c
5 changed files with 62 additions and 42 deletions
+5 -2
View File
@@ -2589,9 +2589,12 @@ local actor_class_color_r, actor_class_color_g, actor_class_color_b
perSecondText = perSecondText or ""
percentText = percentText or ""
if (Details.time_type == 3 and Details.in_combat) then --real time
if ((Details.time_type == 3 or (Details.combat_log.evoker_show_realtimedps and Details.playerspecid == 1473)) and Details.in_combat) then --real time
local actorSerial = thisLine:GetActor().serial
local currentDps = Details.CurrentDps.GetCurrentDps(actorSerial) or perSecondText
local currentDps = Details.CurrentDps.GetCurrentDps(actorSerial)
if (currentDps and currentDps > 0) then
currentDps = Details:ToK2(currentDps)
end
perSecondText = currentDps
end