Files
wow-weakauras/FreshShit/PersonalAnnouncer/event.lua
2024-08-24 22:43:07 +02:00

13 lines
377 B
Lua

-- TICKER_500
function(e)
if aura_env.ActiveSet == nil then
aura_env.ActiveSet = aura_env.Cooldowns[UnitClass("player")]
if aura_env.ActiveSet == nil then
aura_env.ActiveSet = {}
end
end
for _, cooldown in ipairs(aura_env.ActiveSet) do
if aura_env.debug then print(string.format("Calling update on %s", cooldown.name)) end
cooldown:Update()
end
end