roll: add option to use rarity color for timer

This commit is contained in:
shagu
2018-03-18 00:37:54 +01:00
parent 0f7fd4a7b0
commit 10981d24ec
3 changed files with 6 additions and 0 deletions
+4
View File
@@ -286,6 +286,10 @@ pfUI:RegisterModule("roll", function ()
pfUI.roll.frames[id].backdrop:SetBackdropBorderColor(color.r, color.g, color.b)
pfUI.roll.frames[id].time.bar:SetMinMaxValues(0, pfUI.roll.frames[id].rollTime)
if C.loot.raritytimer == "1" then
pfUI.roll.frames[id].time.bar:SetStatusBarColor(color.r, color.g, color.b, .5)
end
if bop then
pfUI.roll.frames[id].boe.text:SetText("BoP")
pfUI.roll.frames[id].boe.text:SetTextColor(1,.3,.3,1)