WeakAuras

Trigger by npc id (number)

  • 4 posts
    #1 Mar 26, 2013 at 13:51 UTC - 0 likes

    Hello, I've been trying to figure out if there's a way to make an aura show up when targetting a specific (group of) NPCs. On the Primordius fight there are loads of Living Fluids, but there are 2 different kinds, one spawns a red pool on death, namely http://www.wowhead.com/npc=69069 and one spawns a purple pool on death, namely http://www.wowhead.com/npc=70579. Is there a way to trigger an aura depending on which type you target? Thanks for the help!

    #2 Apr 20, 2013 at 18:09 UTC - 0 likes

    This will WARN YOU when the one (spawns a purple pool on death) is currentlly your target.

    Loaded in ZONE: TOT

    Custom Event:PLAYER_TARGET_CHANGED

    Trigger:

    function()
        local guid = UnitGUID("target");
        if guid then        
            local npcID = tonumber(guid:sub(6,10),16) 
            if npcID==70597 then            
                return true
            end    
        end    
    end
    

    Untrigger:

    function()   
        return true
    end
    

    Import Strings

    b4vmErLxt1MxtrMxtrMxu51uYv2zP9MBuLhCL51u0vgE0vNCL51u15gDYL2zNvMCErLxtnwDZr3BT51uMvNBJrxAV5gkP4Ns(bMFG5hy(bMCLrxDY5MFGrNC1vMFkvMBK5fDEn1yVX2BY5fvE5enE5umErNxtrxz4rxDYvMxtLKB0vMCMf2yLXvqKr2BUnhxxvwyRfuDYf2CCb1B3vMCbvNCHnxtLrwAHXvq1jxyZXvq1jxyXmdoEnvAK51uMNPRLJyQO74QK)RRMB5RTGEVVA(SLA(JqEoP661uH5wATfgDP9MBErLxt1wyP5Mxu51u0LhCL51uWjxzZvgDEnfCYv2CLrNxtfgBWHwyqvhBZvMx05fDEnvyKrwA0L2BUfgBFrNCPD2zLj3CErLx051uKv2CJ51uPV5TNxQNN74ILR7P4u(J3IoNLIoN0sUU66c6TAA5rQy59oz5j2y6aMO5lM65As45B6Q5GEO5y(6wM3jGM7yIKZRML)iMNt7QMdlTNRjHMdOQD51uY9gDHrxAV5MxonZmEnLB11gvYL2zNvMCZ5LtX41uS9wyK5fvEnvDZv2x69MBL5LqEnLEV5wzEnv6BE75L655oUy56EQxtj3BSvMxu51uTvhB0LMxu5fDErNx051u0jxANDwzY5fvEnfD5bxzEn1y1nhDV1MxtvMDL5gDEn1qOfgD(bwtLn3CHDwzEn1y1nhDV12xOLgzL51uJv3C09wBEnvz2vMB0nNxtbftbLvrs9fvbj1rfr1xdHuqoDure51uJv3C09wBEnLz152y0L2BUHsk(PKFG5hy(bMFGX2BJfgB(b2z1Lgz(bwp(bwvULgDhvvseHIi0fMCNvgDIKYo(PKFG5hy(bMFGLMz(b2z1Lgz(bgDOvMB(bMFG5hy(bMFG5hy(bMFG5Ns(bMFG5hy(bMFG5hy(bMFGX2BJfgB(bMBWnwse5hy94hy09MB11MyLjhkNvxAKPZC1jgk2WsmWKclXytk(bMFG5hy(bMFG5hy(bMFG5Ns(bMFG5hy(bMFG5hy(bMFGLMz(bMBWnwse1tp3atn5CJFGrhAL5MFG5hy(bMFG5hy(bMFG5hy(bMFG5hy(bMFk5hy(bMFG5hy(bMFG5hy(bMFG5hy(bMFGjxz0vNCU5hy0jxDL5Ns(bMFG5hy(bMFG5hy(bMFGvMBK5hy(bMFG5hy(PKFG5hy(bMFGvMBK5hy(bMFG5hy(PuzUrMxtnwDZr3BT9fD5bxzEnvz2vMB051u15wz2vMB051uHvhDV5fDErNxtnNxtfJl04YnUKJxtzNxofdnWaJx05Lx
    

    Reference Link: API_UnitGUID

    #3 Apr 21, 2013 at 22:00 UTC - 0 likes

    @phoenixleaves: Go

    This is no longer viable.
    http://www.curse.com/addons/wow/deadly-boss-mods#c4625

    #4 Apr 22, 2013 at 20:44 UTC - 0 likes

    @Galvin: Go

    Available or not , whatever .

    Just a way to try out What WeakAuras can do.

    so it is said hotfix went online? Nevermind~

  • 4 posts

You must login to post a comment. Don't have an account? Register to get one!