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.
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.
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);
-- Show display
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
You must login to post a comment. Don't have an account? Register to get one!