1. May 6, 2019  

    Need help with WA custom trigger programming

    As title already says, I'm unfamiliar with lua coding and google turned up showing no usable results, so I'm asking for your help. I need a WA that shows me when NO ONE has lifebloom on. Since basic settings have no option to track HoT while also checking multiple targets, I need to create custom trigger using LUA

    I'll appreciate any kind of assistance.

  2. May 6, 2019  
    Took alot of digging, but I've found the solution.

    If anyone else needs it: https://github.com/seansellek/resto-...om_missing.lua or in code:
    -- Returns true if Lifebloom is missing from raid, false if it is up
    function()
    local raid_size = GetNumGroupMembers()
    local lifebloom_up = false
    if raid_size == 0 then
    has_lifebloom = select(1, UnitAura("player", "Lifebloom"))
    if has_lifebloom then
    lifebloom_up = true
    end
    end
    for i=1, raid_size do
    local has_lifebloom = select(1, UnitAura("raid"..i , "Lifebloom"))
    if has_lifebloom then
    lifebloom_up = true
    end
    end
    return not lifebloom_up -- remove 'not' to return true if lifebloom is up
    end

Posting Permissions

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