Good day!
Is here any option to turn off extra buffs or maybe an advice how to index them within loop ie
local i, target_spell_id = 1, 123
while UnitBuff("player", i) do
local spell_path, stack_count, spell_id = UnitBuff("player", i)
if spell_id == target_spell_id then
break
end
i = i + 1
end
print(i)
Good day! Is here any option to turn off extra buffs or maybe an advice how to index them within loop ie