Originally Posted by Woxx1
As it currently stands--unless im doing it all wrong--when health is knocked off in grid, a solid bar of black or class color is shown.
Its the deficit health. I would like a way to make that totally transparent. Nothing seems to work. Anyway around it?
|
I've been using a personal change to grid for a while...
I've been actually attempting to change it via external addon here:
http://www.wowinterface.com/forums/s...ad.php?t=35824
If you'd like to change it to something else change this code here:
Lines 462-472 of GridFrame.lua:
Code:
function GridFrame.prototype:SetBarColor(r, g, b, a)
if GridFrame.db.profile.invertBarColor then
self.Bar:SetStatusBarColor(r, g, b, a)
self.BarBG:SetVertexColor(r * 0.2, g * 0.2, b * 0.2, 1)
else
self.Bar:SetStatusBarColor(0, 0, 0, 0.8)
self.BarBG:SetVertexColor(r, g, b, a)
end
self:UpdateHealingBarColor()
end
Change to:
Code:
function GridFrame.prototype:SetBarColor(r, g, b, a)
if GridFrame.db.profile.invertBarColor then
self.Bar:SetStatusBarColor(r, g, b, a)
self.BarBG:SetVertexColor(1,1,1,1) --(red,green,blue,alpha)
else
self.Bar:SetStatusBarColor(0, 0, 0, 0.8)
self.BarBG:SetVertexColor(r, g, b, a)
end
self:UpdateHealingBarColor()
end
self.BarBG:SetVertexColor(1,1,1,1) --(red,green,blue,alpha) would be whatever color you'd want, and setting the last digit to 0 would make the bar clear.
This only changes the bar that shows the deficit hp, however you'll still have to remove the color for the background color.