I've been using Quse UI for around a year now, and oUF is included in it along with oUF_Mlight. However the Quse UI author isn't updating it anymore and has been inactive for a while. I've managed to fix a few addons to work with 6.0, and updated oUF aswell (didn't change anything yet).
However the problem I have with oUF is that when I play my paladin (my main) the holy power bars are always full, even outside of combat, afking in the city. (picture
here)
Could this be related to me updating oUF or oUF_Mlight just not being compatible anymore? Does anyone have any idea how to fix this? Would love to continue using this setup. I'm pretty new to Lua, so my apologies if this is a stupid question/wrong place to ask.
Any response is greatly appreciated.
oUF_Mlight holy power code:
Lua Code:
local HolyPowerOverride = function(self, event, unit, powerType)
if(self.unit ~= unit or (powerType and powerType ~= "HOLY_POWER")) then return end
local hholder = self.HolyPower
local holypower = UnitPower("player", SPELL_POWER_HOLY_POWER)
local maxholypower = UnitPowerMax("player", SPELL_POWER_HOLY_POWER)
if not hholder.maxholypower then hholder.maxholypower = 5 end
if hholder.maxholypower ~= maxholypower then
for i = 1, 5 do
hholder[i]:SetWidth((cfg.width+3)/maxholypower-3)
end
hholder.maxholypower = maxholypower
end
for i = 1, 5 do
if i <= holypower then
hholder[i]:SetAlpha(1)
else
hholder[i]:SetAlpha(0)
end
end
end