Testing Coach Deaths

This commit is contained in:
Tercio Jose
2020-12-17 18:30:56 -03:00
parent da6972d1c1
commit 3842c0a9f6
5 changed files with 53 additions and 19 deletions
+2 -1
View File
@@ -173,7 +173,7 @@ function Details.CooldownTracking.RefreshScreenPanel()
local classColor = C_ClassColor.GetClassColor(cooldownTable[6])
bar:SetStatusBarColor(classColor.r, classColor.g, classColor.b)
local _, _, spellIcon = GetSpellInfo(cooldownTable[5])
local spellNameDebug, _, spellIcon = GetSpellInfo(cooldownTable[5])
bar:SetIcon(spellIcon, .1, .9, .1, .9)
bar:SetLeftText(DF:RemoveRealmName(cooldownTable[1]))
@@ -181,6 +181,7 @@ function Details.CooldownTracking.RefreshScreenPanel()
if (timeLeft > 0) then
bar.spellId = cooldownTable[5]
bar:SetTimer(timeLeft)
--print("timeLeft:", timeLeft, spellNameDebug)
else
bar:SetMinMaxValues(0, 100)
bar:SetValue(100)