#Burst tracker Weakaura that I made, works but doesn't show timers on the active auras

28 messages · Page 1 of 1 (latest)

pseudo hinge
#

https://wago.io/V9B2Y7ylD I have a Weakaura that creates glowing icons on the persons raidframe that the arena1-2-3 are targetting. This works just fine as a simple TSU trigger. The problem comes with trying to add durations with aura_env.duration etc. Idk why I can't seem to make it work properly. What's the correct way to simply add the duration to the auras in the second trigger?

Shows burst buffs in arena on the targetted player's raidframe

#

Works by having a bunch of auras tracked in trigger 1:

#

Then this code:

#
    
    local idx = 3 -- Only check arena3

    local name = "arena" .. idx
    local srcName = UnitName(name)
    local dstName = UnitName(name .. "target")
    
    if srcName and dstName and (allstates[idx] == nil or allstates[idx].name ~= dstName) then
        
        local  icon = aura_env.icon
        
        allstates[idx] = {
            show = true,
            changed = true,
            unit = dstName, 
            --name = dstName,
            progressType = "timed",
            icon = icon,
        }
        
    elseif allstates[idx] and dstName == nil then
        allstates[idx].show = false
        allstates[idx].changed = true
    end
    
    return true
end



#

I can add simple durations by just doing duration = 10

Or whatever.

#

But is there not a way to get it to be duration = aura_env.duration, would that work?

#

or expirationtime

#

Basically I want to have a timer on the icons when they're active while keeping the tracking functionality.

#

It looks like the glowing thing on the left

#

and follows the raidframe that each arena member is targetting

#

While having the buff active

#

I might be dumb wait a sec

#

xD

#

I suppose creating a text field with progress would work

#

Didnt

#

:(

#

maybe p2.

#

Okay nvm

#

XD

#

it works

#

Was this simple

#

figured I was missing something dumb

pseudo hinge
#

Okay instead then I want to make it work for cloning

#

So it can take multiple auras per arena

#

unit

pseudo hinge
#

SIGH it's too resource intensive sadly

#

RIP