/script if not XBuffTooltip then XBuffTooltip = CreateFrame("GameTooltip", "XBuffTooltip", nil, "GameTooltipTemplate"); end /script XBuffTooltip:SetOwner(WorldFrame,"ANCHOR_NONE");XBuffalo={};local buffs,btn={"复仇","智慧圣印","正义圣印","圣印"};for i=0,31 do btn=getglobal('BuffaloButton'..i);if btn and btn:IsVisible() then XBuffTooltip:SetPlayerBuff(i);for _,b in ipairs(buffs) do if string.find(XBuffTooltipTextLeft1:GetText() or "",b) then XBuffalo[b]=true;end end end end;XBuffTooltip:Hide();