Fixed things about the Real Time DPS; Open Raid Lib Update

This commit is contained in:
Tercio Jose
2023-07-17 22:02:35 -03:00
parent e2e2369a81
commit 72120a8a3e
12 changed files with 292 additions and 449 deletions
+7 -5
View File
@@ -2589,12 +2589,14 @@ local actor_class_color_r, actor_class_color_g, actor_class_color_b
percentText = percentText or ""
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)
if (currentDps and currentDps > 0) then
currentDps = Details:ToK2(currentDps)
if (thisLine:GetActor()) then
local actorSerial = thisLine:GetActor().serial
local currentDps = Details.CurrentDps.GetCurrentDps(actorSerial)
if (currentDps and currentDps > 0) then
currentDps = Details:ToK2(currentDps)
end
perSecondText = currentDps
end
perSecondText = currentDps
end
--check if the instance is showing total, dps and percent