Hi!
I'm trying to change the background colour of skada bars to be class colour, but I can't get it to work.
Here are the current functions for the bgcolour as well as the normal class colour (not background), if that helps.
Code:
bgcolor = {
type="color",
name=L["Background color"],
desc=L["Choose the background color of the bars."],
hasAlpha=true,
get=function(i) return db.barbgcolor.r, db.barbgcolor.g, db.barbgcolor.b, db.barbgcolor.a end,
set=function(i, r,g,b,a) db.barbgcolor = {["r"] = r, ["g"] = g, ["b"] = b, ["a"] = a}; Skada:ApplySettings() end,
order=22,
},
classcolorbars = {
type="toggle",
name=L["Class color bars"],
desc=L["When possible, bars will be colored according to player class."],
order=30,
get=function() return db.classcolorbars end,
set=function()
db.classcolorbars = not db.classcolorbars
Skada:ApplySettings()
end,
},
Either that or if there's a way to change the way the bars in skada show their length according to the percentage of damage done. I just want to use the bars as a background, not tracking the amount of damage someone has done. Though I can't seem to locate that part so I think the first step is easier
Thanks!