Hey guys, can you help me to add a (not)interruptible color to a castbar?
i tried to edit this block of castbar file
...
...
elseif(self.mystyle == "target") then
core:setBackdrop(castbar, cfg.units.target.castbar.height + 4, 2, 2, 2)
if notInterruptible then
castbar:SetStatusBarColor(1.00, 0.00, 0.00)
else
castbar:SetStatusBarColor(0.00, 1.00, 0.00)
end
castbar:SetWidth(cfg.units.target.castbar.width - cfg.units.target.castbar.height + 6)
castbar:SetHeight(cfg.units.target.castbar.height)
castbar:SetPoint("CENTER", "UIParent", "CENTER", 0, 350)
...
...
...
|
But the color are not working for target mobs...
I have attached full castbar lua file if needed