More fixes for text color and bar color. Early and under development report button addon to the Player Breakdown window.

This commit is contained in:
Tercio Jose
2024-02-15 17:02:29 -03:00
parent 2fd02eebb1
commit cd8266fff6
12 changed files with 98 additions and 41 deletions
+10 -5
View File
@@ -3796,16 +3796,21 @@ function Details:envia_relatorio (linhas, custom)
if (combatObject) then
local combatTime = combatObject:GetCombatTime()
segmentTime = Details.gump:IntegerToTimer(combatTime or 0)
else
combatObject = self:GetCombat()
local combatTime = combatObject:GetCombatTime()
segmentTime = Details.gump:IntegerToTimer(combatTime or 0)
end
--effective ou active time
if (Details.time_type == 2 or Details.use_realtimedps) then
linhas[1] = linhas[1] .. " [" .. segmentTime .. " EF]"
else
linhas[1] = linhas[1] .. " [" .. segmentTime .. " AC]"
if (not custom) then
if (Details.time_type == 2 or Details.use_realtimedps) then
linhas[1] = linhas[1] .. " [" .. segmentTime .. " EF]"
else
linhas[1] = linhas[1] .. " [" .. segmentTime .. " AC]"
end
end
local editbox = Details.janela_report.editbox
if (editbox.focus) then --no precionou enter antes de clicar no okey
local texto = Details:trim (editbox:GetText())