Brandon T
By: a guest | Jul 31st, 2009 | Syntax:
Lua | Size: 0.67 KB | Hits: 47 | Expires: Never
-- XPerl_Player_SetBuffTooltip
function XPerl_Player_SetBuffTooltip(self)
if (conf.tooltip.enableBuffs and XPerl_TooltipModiferPressed(true)) then
if (not conf.tooltip.hideInCombat or not InCombatLockdown()) then
GameTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT")
GameTooltip:SetUnitBuff("player", self:GetID())
end
end
end
-- XPerl_Player_SetDeBuffTooltip
function XPerl_Player_SetDeBuffTooltip(self)
if (conf.tooltip.enableBuffs and XPerl_TooltipModiferPressed(true)) then
if (not conf.tooltip.hideInCombat or not InCombatLockdown()) then
GameTooltip:SetOwner(self, "ANCHOR_BOTTOMRIGHT")
GameTooltip:SetUnitBuff("player", self:GetID())
end
end
end