View Full Version : buff event?
shadar
05-09-2006, 05:29 PM
what i need is an event to check if the players target casts a buff, i already searched on wowwiki but im not sure which event would be best for this:/
so what event should i use?:ponder:
shadar
05-09-2006, 09:53 PM
ok after testing all the events it seems that CHAT_MSG_SPELL_PERIODIC_HOSTILEPLAYER_BUFFS is the one i need.
now there are 2 other problems i have.
1. the event is fired for every hostile player around me, how can i only get the events for the selected target?
2. the arg1 returns something like "targetname gains spell" how can i pick the spellname out of that?
Witchhunt will do this. In the slash commands you can set it to only pickup your target's spell casting messages. Rather handy in PvP or some instances (ZG) where the mobs spam their spells. Find it HERE (http://svn.wowace.com/files/WitchHunt-r9595.zip) (limited time link). More info HERE (http://www.wowace.com/forums/index.php/topic,1654.0.html) You can take apart this AddOn to see how the author has implemented what you are trying to do.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.