Типа на юнитфрейме не выводить , а при простом наведении выводить?
PHP код:
local _G = getfenv(0);
local GetMouseFocus, GameTooltip = GetMouseFocus, _G["GameTooltip"];
GameTooltip:HookScript("OnShow", function(self)
if GetMouseFocus() and GetMouseFocus():GetAttribute("unit") then
self:Hide();
elseif GetMouseFocus() and GetMouseFocus():GetParent() and GetMouseFocus():GetParent():GetAttribute("unit") then -- для статуст баров дефолт интерфейса.
self:Hide();
end
end)