Announcing to raid on multiple debuff with player names

  • 3 posts
    #1 Aug 30, 2011 at 06:39 UTC - 0 likes


    Great addon, one I've been waiting for so long (been using powa).

    I would like to announce to raid when a certain type of a debuff is on a raid member. I can get the debuffs to show up on so far, but I'm not sure what to put in Action. I want to the raid warning to say for example.."Lava Wave on playername1, playername 2, etc"

    also, is there a way to announce to raid/whisper to player when they accumulate a certain number of stack of a specific debuff? Such as the debuff on baleroc, I want to whisper to players when they reach 11 stack on their debuff..thanks in advance.

    Last edited Aug 31, 2011 by Aggronaught
    #2 Sep 05, 2011 at 09:38 UTC - 0 likes

    Take a look at here. For now triggers can't pass data to the actions-tab stuff. So you'll need to use custom functions (not difficult) for now. http://www.wowace.com/addons/weakauras/forum/23256-annoucing-target-cast-for-aura-that-has-multiple-triggers/

    To do (de-)buff tracking stuff, you'll need:

    function(event, timestamp, message, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, ...)
      -- Check for new aura event, can also be 
      --  * SPELL_AURA_APPLIED auraType (new aura)
      --  * SPELL_AURA_REMOVED auraType (aura completely removed)
      --  * SPELL_AURA_APPLIED_DOSE auraType amount (new stack of aura)
      --  * SPELL_AURA_REMOVED_DOSE auraType amount (removed stack of aura)
      --  * SPELL_AURA_REFRESH auraType (existing aura refreshed)
      --  * SPELL_AURA_BROKEN auraType
      --  * SPELL_AURA_BROKEN_SPELL extraSpellID	extraSpellName	extraSchool	auraType 
      if message == "SPELL_AURA_APPLIED" then
        -- Additional arguments
        local spellId, spellName, spellSchool, auraType = ...
        -- Compare caster and spell
        if sourceName == "<CASTER NAME HERE>" and (spellName == "<SPELL NAME HERE>" or spellId == <SPELL ID HERE>) then
          -- Add chat ("RAID" can also be "RAID_WARNING")
          SendChatMessage(sourceName or "UNKNOWN" .. " applied Aura " .. spellName or "UNKNOWN" .. (destName and " to " or "") .. destName or "", "RAID");
          -- Want to whisper?
          -- if destName then
          --   SendChatMessage(sourceName or "UNKNOWN" .. " applied Aura " .. spellName or "UNKNOWN" .. " to you!", "WHISPER", nil, destName);
          -- end
          -- Show display
          return true


    • event - Is always COMBAT_LOG_EVENT_UNFILTERED
    • timestamp - Time of occurance
    • message - Combat event that happened. Full list at http://www.wowpedia.org/COMBAT_LOG_EVENT_UNFILTERED
    • hideCaster - ???
    • sourceGUID - Unique ID of the caster (player/mob)
    • sourceName - Name of the caster (player/mob)
    • sourceFlags - Additional information about caster
    • sourceRaidFlags - ...
    • destGUID - Unique ID of the spell/aura/ect. target (player/mob)
    • destName - Name of the spell/aura/ect. target (player/mob)
    • destFlags - Additional information about target
    • destRaidFlags - ...
    • ... - Additional arguments, depend on "message". See http://www.wowpedia.org/COMBAT_LOG_EVENT_UNFILTERED for full list
    Last edited Sep 05, 2011 by CommanderSirow
    #3 Jan 04, 2013 at 17:07 UTC - 0 likes


    I realy like Weak Auras and iam looking for a custom function to report stacks of debuffs to the raidchat. something like this:

    player x got y stacks of debuff z !

    I dont know anything about lua and iam looking for something similar to the above but with stack count. Is it possible to copy paste this code above this post?

    thanks in advance

  • 3 posts

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