Files
wow-weakauras/WA snippets/UnitBuff.lua
2024-08-24 22:43:07 +02:00

13 lines
284 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