Posted by nuttyprot on Tue, 20 Oct 2009 13:17:20
Ok this my first attempt at an addon and im having a problem i cant seem to figer out how to fix. What is happening the addon is reading other Warriors skills when they use them and when battle or commanding shout fades on other people its announcing it. The addon is suposed to read only my abilitys and my fades.
below is the link to the code any help would be great as i'm at a los of what to do
I think i fixed it
local playerName = UnitName("player")
then added to the if event line in both buffs :)
playerName == sourceName
still needs more testing but hopefully thats fixed the problems i was haveing
Posted by jnwhiteh on Thu, 22 Oct 2009 07:54:29
That's certainly one way to test it out =). You might want to cache the result of UnitGUID("player"), since it will never change.. but it looks good to me!