Sound or animation on refresh?

  • 3 posts
    #1 Aug 04, 2011 at 16:19 UTC - 0 likes


    I was wondering if/how it would be possible to play a sound or some animation when a debuff gets refreshed. Specifically trying to use it for Blazing Power (flying for Alysrazor). I have the stack text set as big as it will go but it would be nice to get an extra que that I hit the ring (or missed it). Love the addon btw, pretty much replaced power auras and tellmewhen.

    #2 Aug 06, 2011 at 08:30 UTC - 0 likes

    Its possible using a custom trigger that watches the combat log for:

    • message = SPELL_AURA_REFESH
    • spell id = 99461
    • destinationGUID = UnitGUID("player")


    • Type: Custom -> Event
    • Timed: x seconds
    • Code:
    function(event, timestamp, message, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, ...)
      -- Check CL message and destination
      if message and sourceGUID and (message == "SPELL_AURA_REFESH" or message == "SPELL_AURA_APPLIED") and sourceGUID == UnitGUID("player") then
        -- Additional arguments
        local spellId, spellName, spellSchool, auraType = ...
        -- Compare spell
        if spellId and spellId == 99461 then
          -- Show display
          return true
    Last edited Aug 06, 2011 by CommanderSirow
    #3 Aug 08, 2011 at 20:18 UTC - 0 likes

    Magic! ty

  • 3 posts

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