Files
wow-weakauras/WA snippets/UnitBuff.lua
2025-05-15 20:37:50 +02:00

11 lines
206 B
Lua

aura_env.CUnitBuff = function(spell)
for i = 1, 40 do
local name = UnitBuff("player", i)
if name then
if name == spell then return UnitBuff("player", i) end
else
break
end
end
end