Hey,
I would like some help with how you create a WA that can show a players name if they throw a buff (like Vigilance) on me.
This is how I want it to be
And then instead of it saying Vigilance I want to see who casted it on me.
We got 2 warriors in my guild, and I gotta know exactly who threw it on me.
----------------------------------------------------------------------------------------
This is how my Raid CD WA looks like when someone in my raid casts Stampeding Roar
Here is the WA string - http://pastebin.com/ubsFBuNu
And here are the settings for the WA
The custom Trigger
Code:
function(event, timestamp, message, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, ...)
if message == "SPELL_CAST_SUCCESS" then
local spellId, spellName, spellSchool = ...
if spellName == "ironbark" then
name = sourceName
return true
end
end
end
;;EDIT
I guess the part I gotta change is this one?
But I dont know what I should add, since it should only track when they cast stuff one me, nobody else.
Is it possible to add something like when spell is sucessful on player then bla bla bla
Code:
if message == "SPELL_CAST_SUCCESS" then