Buff Update now show buffs received from an Augmented Evoker and Priest's Power Infusion buff.
- Buff Update now show buffs received from an Augmented Evoker and Priest's Power Infusion buff.
This commit is contained in:
+5
-1
@@ -6,6 +6,7 @@
|
||||
local _tempo = time()
|
||||
local _
|
||||
local addonName, Details222 = ...
|
||||
local detailsFramework = DetailsFramework
|
||||
|
||||
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
--local pointers
|
||||
@@ -1629,7 +1630,7 @@
|
||||
GameCooltip:AddStatusBar (100, 1, 0, 0, 0, 0.8)
|
||||
end
|
||||
|
||||
function Details:AddTooltipBackgroundStatusbar (side, value, useSpark)
|
||||
function Details:AddTooltipBackgroundStatusbar (side, value, useSpark, statusBarColor)
|
||||
Details.tooltip.background [4] = 0.8
|
||||
Details.tooltip.icon_size.W = Details.tooltip.line_height
|
||||
Details.tooltip.icon_size.H = Details.tooltip.line_height
|
||||
@@ -1661,6 +1662,9 @@
|
||||
|
||||
if (not side) then
|
||||
local r, g, b, a = unpack(Details.tooltip.bar_color)
|
||||
if (statusBarColor) then
|
||||
r, g, b, a = detailsFramework:ParseColors(statusBarColor)
|
||||
end
|
||||
local rBG, gBG, bBG, aBG = unpack(Details.tooltip.background)
|
||||
GameCooltip:AddStatusBar (value, 1, r, g, b, a, useSpark, {value = 100, color = {rBG, gBG, bBG, aBG}, texture = [[Interface\AddOns\Details\images\bar_serenity]]})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user