/branches
a = .85 |
end |
if self.hiddenBar then |
a = 0 |
end |
self.bg:SetVertexColor(r, g, b, a) |
end |
self.highlighted = true |
end |
-- TODO TEMP |
self.hiddenBar = true |
if self.hiddenBar then |
-- hide bar |
self.bg:SetAlpha(0) |
self.bg.fill:SetAlpha(0) |
self.health:SetAlpha(0) |
else |
self.bg:SetAlpha(1) |
self.bg.fill:SetAlpha(1) |
self.health:SetAlpha(1) |
end |
-- classifications |
if self.boss:IsVisible() then |
self.level:SetText('??b') |
end |
local function OnFrameEnter(self) |
if self.highlight then |
if self.highlight and not self.hiddenBar then |
self.highlight:Show() |
end |