function(states, elapsed)
if not aura_env.startTime then
return false
end
local t = GetTime() - aura_env.startTime
local texture
if t >= 1 and t <= 15 then
texture = "Interface\AddOns\WeakAuras\Media\디멘1-1.tga"
elseif t >= 25 and t <= 36 then
texture = "Interface\AddOns\WeakAuras\Media\디멘1-2.tga"
elseif t >= 60 and t <= 75 then
texture = "Interface\AddOns\WeakAuras\Media\디멘1-3.tga"
elseif t >= 110 and t <= 120 then
texture = "Interface\AddOns\WeakAuras\Media\디멘1-4.tga"
elseif t >= 150 and t <= 160 then
texture = "Interface\AddOns\WeakAuras\Media\디멘1-5.tga"
else
texture = nil
end
states[""] = {
show = texture ~= nil,
changed = true,
texture = texture
}
return true
end
🔹 Trigger
Type: Custom
Event Type: Status
Check On: Every Frame
function()
if not aura_env.startTime then
return false
end
local t = GetTime() - aura_env.startTime
return (
(t >= 1 and t <= 15) or
(t >= 25 and t <= 36) or
(t >= 60 and t <= 75) or
(t >= 110 and t <= 120) or
(t >= 150 and t <= 160)
)
end