I'm trying to filter specific Debuffs from the default raid frames.
Information like "Recently Mass Resurrected" isn't helping in heavy debuff fights like Chimaeron/BOT Council.
This code works:
Code:
local function setupFilter(frame)
for i=1, #frame.debuffFrames do
if ( UnitDebuff(frame.unit, i) ) then
name = UnitDebuff(frame.unit, i)
if (name == "Weakened Soul") then
print(name)
print(frame.debuffFrames[i]:GetName())
frame.debuffFrames[i]:Hide()
end
end
end
end
hooksecurefunc("CompactUnitFrame_UpdateAuras", setupFilter)
Any guidance how to avoid the blank space in the raid frames and do the debuffs to string together?
Maybe changing the index - but how?
Thank you very much in advance!