#Templar Strike combo untrigger on expiration

15 messages · Page 1 of 1 (latest)

dense oracle
#

Hey all, I'm struggling to find a way to have my Templar Strike weakaura untrigger responsively.

The goal of the weakaura is to display the remaining duration you have to continue the Templar Strike->Templar Slash combo, as well as the cooldown of each charge of Templar Strike, all in one icon/weakaura.

For some context, when you cast Templar Strike, you get 4 seconds to cast Templar Slash. As far as I can tell, theres no aura to track this; the spell simply changes.

For my untrigger conditions I have a 4 second timer, and SPELL_CAST_SUCCESS of Templar Slash, but when the 4 second timer expires, I'm not seeing the cooldown on the recharge for Templar Strike. I see the cooldown for the recharge properly when Templar Slash is untriggered via SPELL_CAST_SUCCESS.

Any ideas? I tried looking for the proper event to untrigger but can't find an appropriate one. Also not sure if I'm taking the wrong approach to this entirely...
https://wago.io/IqRWrq3mL

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

hallow musk
dense oracle
#

nice pretty much what i was looking for, any chance I could get a brief explain on the trigger?

#

or why mine doesn't work as i'd expect?

hallow musk
#

i'd rather point the wiki on how TSU work than trying to debug your 4 trigger aura with a mix of built-in and custom triggers

#

!tsu

sterile sedgeBOT
dense oracle
#

fair enough thanks

hallow musk
#

did you made this or is it copy pasta?

function(event, timestamp, subEvent, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, ...)
    local playerGUID = UnitGUID("player")
    if (subEvent == "SPELL_CAST_SUCCESS" and sourceGUID == playerGUID) then
        local _, _, _, _, _, _, _, _, _, _, _, _, spellId = CombatLogGetCurrentEventInfo()
        if (spellId == "Templar Strike") then
            return true
        end
    end
    return false
end
dense oracle
#

wrote it following a template

#

spellid == oops

#

but that untrigger did work when using templar slash

hallow musk
#

weakauras calls CombatLogGetCurrentEventInfo() for you an add the result to the function arguments, you shouldn't need to use this

dense oracle
#

only the timed untrigger seemed to be sorta unresponsive

#

i see