1. #1
    Deleted

    Greenskin's weakaura

    Anyone knows any addon or weakaura string for the outlaw wrists buff?

  2. #2
    I think I have one that works fairly well. Have to set up some custom triggers.

    Required for Activation: All Triggers
    Dynamic Information: Whatever not using any dynamic information in the current state

    Trigger 1
    Type: Custom
    Event Type: Event
    Event(s): UNIT_AURA
    Custom Trigger:
    Code:
    function()
        return(IsSpellOverlayed(202895))
    end
    Custom Untrigger:
    Code:
    function()
        return(not(IsSpellOverlayed(202895)))
    end
    Trigger 2
    Type: Custom
    Event Type: Status
    Check On...: Every Frame
    Custom Trigger:
    Code:
    function ()
        local startTime,duration,_ = GetSpellCooldown(199804)
        local BtE = startTime
        local _,_,_,_,_,_,expires = UnitBuff("Maquegyver","Opportunity")
        local Opp = expires
        if BtE == 0 then BtE = 0
        else BtE = 20 - (GetTime() - BtE)
        end
        if Opp == nil then Opp = 0
        else Opp =  (Opp - GetTime())
        end
        if BtE == 0 then return true
        elseif ((BtE + 2) < Opp and duration >= 1.5) then return true
        end
    end
    Custom Untrigger:
    Code:
    function ()
        local startTime,duration,_ = GetSpellCooldown(199804)
        local BtE = startTime
        local _,_,_,_,_,_,expires = UnitBuff("Maquegyver","Opportunity")
        local Opp = expires
        if BtE == 0 then BtE = 0
        else BtE = 20 - (GetTime() - BtE)
        end
        if Opp == nil then Opp = 0
        else Opp =  (Opp - GetTime())
        end
        if ((BtE + 2) >= Opp and duration >= 1.5) then return true
        end
    end
    I currently use these to trigger text on my screen. The text will appear when Pistol Shot is overlayed with Blunderbuss and when Between the Eyes is either off CD or will be off CD 2 secs prior to Opportunity dropping. Its not perfect as once you use Between the Eyes the text disappears (as BTE is now on a CD much longer than Opportunity) immediately before you have used the buffed Blunderbuss. However, I haven't wanted to refine it any further currently and it works fine for letting me know when to two tap.

    NOTE: I found the trigger and untrigger code for Trigger 1 online (can't recall where but thanks to that person). I myself came up with the trigger and untrigger code for Trigger 2. This was my first crack at LUA (write stuff in other languages). If anyone has suggestions for improvement with better or similar function let me know.
    Last edited by Maquegyver; 2017-01-16 at 05:48 AM.

  3. #3
    Please can someone post a string that a dummy like me can copy and paste into WA to make the aura appear

Posting Permissions

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