11 lines
183 B
Lua
11 lines
183 B
Lua
aura_env.auraID = function(spell)
|
|
for i = 1, 40 do
|
|
local name = UnitBuff("player", i)
|
|
if name then
|
|
if name == spell then return i end
|
|
else
|
|
break
|
|
end
|
|
end
|
|
end
|