#Custom Condition not Upating on certain Conditions.

2 messages · Page 1 of 1 (latest)

cold elbow
#

Hi, I'm new to weakaura and lua, but I've been trying to make a roll the bones WA.

I got it to a state where it works but It does have a quark. The WA basicly makes the icon glow based on what buffs I have. The issue I have is that when reletless blades lowers the roll the bones cooldown and the buffs i want to keep naturally comes back down, the condition doesn't update. however if i press a combo finisher it updates.

wago link :https://wago.io/0htvDSIBi
the condition is :

    
    local triggers = {
        aura_env.states[1], -- broadside
        aura_env.states[2], -- skull and crossBones
        aura_env.states[3], -- true Bearing
        aura_env.states[4], -- rutheless Precision
        aura_env.states[5], -- buriedTreasure
        aura_env.states[6], -- grandMelee
        
    }
    local rolltheBones = aura_env.states[7]
    
    local totalRolls = 0
    local keep  = 0
    local reroll = 0
    
    
    -- find how many buffs were rolled
    for idx, aura in ipairs(triggers) do
        if aura.show ~= nil then 
            totalRolls = totalRolls + 1    
            if idx == 2 or idx == 3 then
                keep = keep + 1
            elseif idx == 5 or idx == 6 then
                reroll = reroll + 1
            end
        end  
    end
    
    return keep == 0 and ( totalRolls < 2 or ( rotalRolls == 2 and reroll == 2  ))
    
end```

Wago.io is a database of sharable World of Warcraft addon elements

crude ore
#

Custom Checks run when the triggers change. So sounds like you need to add a trigger that will update when the CD changes.