1. #1
    Deleted

    Weak Auras: Trinket/Adaptation/Relentless tracker

    ahoi fellow champs!

    with 7.2, Blizzard added an icon next to the enemy arena frames tracking the cooldown of Trinket/Adaptation/Relentless (first row of honor talents).
    has anyone found a way yet to create a WeakAura that triggers off of these new trackers?

    I would like to create a WeakAura showing the Relentless/Adaptation icon when an arena enemy has that talent selected.

    if anyone knows of the custom code to access this information, please share.

    any input is greatly appreciated!

    UPDATE

    SOLVED:


    managed to do it with a different approach!

    if you want to see the icon of Relentless when arena1 has taken that talent then create the following WeakAura:

    1 Trigger:

    Type: Custom
    Event Type: Status
    Check On...: Every Frame

    Custom Trigger:
    Code:
    function()
        local troll = ArenaEnemyFrame1.CC.Icon:GetTexture()
        if troll == 1115905 then
            return true
        end
    end


    Icon Info:
    Code:
    function()
        local troll = ArenaEnemyFrame1.CC.Icon:GetTexture()
        if troll == 1115905 then
            return troll
        end
    end
    and make sure you have 'Automatic Icon' checked on 'Display' tab of your WeakAura.

    thank you quthar for helping out! cheers
    Last edited by mmoc3a779c5103; 2018-02-15 at 04:12 PM.

  2. #2
    Deleted
    sneakily pushing this one

  3. #3
    Deleted
    oh this problem still persists! if anyone has any insight on this. please share

    - - - Updated - - -

    Code:
    ARENA_CROWD_CONTROL_SPELL_UPDATE
    this event is what makes the information accessible, but I have no clue how to go from here

  4. #4
    Deleted
    still very much looking for help here. any input is appreciated!

  5. #5
    Deleted
    in dire need of help

  6. #6
    It might be helpful to look through blizzard's interface code to see what they're doing.

    From a quick look there it seems the arguments to that event are event, unit, spellID.

  7. #7
    Deleted
    Quote Originally Posted by quthar View Post
    It might be helpful to look through blizzard's interface code to see what they're doing.

    From a quick look there it seems the arguments to that event are event, unit, spellID.
    thank you this was very helpful to get closer to my goal!

    ------------------------------------------------------------------------------------------

    Trigger 1



    Type: Custom

    Event Type: Status

    Check On...: Event(s)

    Event(s): ARENA_CROWD_CONTROL_SPELL_UPDATE

    Custom Trigger:



    function()
    local spellID, startTime, duration = C_PvP.GetArenaCrowdControlInfo("arena1")
    if spellID == 208683 then -- id of the standard trinket
    return true
    end
    end



    ------------------------------------------------------------------------------------------


    this is what I have so far and it triggers the weakaura when arena1 uses their standard trinket. now I just need to find a way to make the weakaura trigger when the gates open and arena1 has trinket selected as a talent.

    if anyone has an idea please share
    cheers

  8. #8
    It sounds like you'll need to listen to another event. From another quick look at blizzard's code ARENA_COOLDOWNS_UPDATE seems likely.

    If that doesn't work try looking through blizzard's code for RegisterEvent to see what events they're listening for.

  9. #9
    Deleted
    managed to do it with a different approach!

    if you want to see the icon of Relentless when arena1 has taken that talent then create the following WeakAura:

    1 Trigger:

    Type: Custom
    Event Type: Status
    Check On...: Every Frame

    Custom Trigger:
    Code:
    function()
        local troll = ArenaEnemyFrame1.CC.Icon:GetTexture()
        if troll == 1115905 then
            return true
        end
    end

    Icon Info:
    Code:
    function()
        local troll = ArenaEnemyFrame1.CC.Icon:GetTexture()
        if troll == 1115905 then
            return troll
        end
    end
    and make sure you have 'Automatic Icon' checked on 'Display' tab of your WeakAura.

    thank you quthar for helping out! cheers
    Last edited by mmoc3a779c5103; 2018-02-15 at 04:13 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •