if ( self:GetCenter() > GetScreenWidth()/2 ) then
GameTooltip:SetOwner(self, "ANCHOR_LEFT");
else
GameTooltip:SetOwner(self, "ANCHOR_RIGHT");
end
local filter;
if ( GetCVarBool("showDispelDebuffs") ) then
filter = "RAID";
end
GameTooltip:SetUnitDebuff(self:GetParent().unit, self:GetID(), filter);
GameTooltip:Hide();
if ( GameTooltip:IsOwned(self) ) then
GameTooltip:SetUnitDebuff(self.unit, self:GetID());
end
GameTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT", 15, -25);
GameTooltip:SetUnitDebuff(self.unit, self:GetID());
GameTooltip:Hide();
if ( GameTooltip:IsOwned(self) ) then
GameTooltip:SetUnitBuff(self.unit, self:GetID());
end
GameTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT", 15, -25);
GameTooltip:SetUnitBuff(self.unit, self:GetID());
GameTooltip:Hide();