local barWidth = self:GetWidth();
self.FluidFrame:SetHeight(self:GetHeight());
self.FluidFrame.FluidP2O:SetWidth(barWidth);
self.FluidFrame.FluidO2R:SetWidth(barWidth);
self.Empty:SetWidth(barWidth);
self.FluidFrame.FluidP2O:SetGradient("VERTICAL", 113 / 255, 32 / 255, 206 / 255, 212 / 255, 94 / 255, 16 / 255);
self.FluidFrame.FluidO2R:SetGradient("VERTICAL", 212 / 255, 94 / 255, 16 / 255, 255 / 255, 20 / 255, 0 / 255);
if not self:IsMouseOver(8, 0, 0, 8) then
self.CloseButton:Click();
end
local parent = CharacterStatsPane.ItemLevelFrame.Corruption;
if not parent then return; end;
self:SetParent(parent);
self:SetPoint("LEFT", parent, "CENTER", 8, 0);
self:RegisterEvent("COMBAT_RATING_UPDATE");
Narci_SetCorruptionBar(self);
--self:SetAlpha(1);
self:StopAnimating();
self:SetAlpha(0);