View Single Post
06-16-11, 05:41 PM   #1
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
Keeping track of targettarget

Hello,

I'm working on an addon for telling on people taunting mobs away from the tank. So basicly I register CLEU and look for the SPELL_CAST_SUCCESS subevent and upon it I check for a taunt spell and whether the caster is not a tank. I need a way to report only if someone taunts off the tank so I need to know the target of the taunt receiver and check whether it is on my tank list. Just checking for targettarget upon the subevent didn't prove to be fast enough and it always returned the taunting player.

Is there some clever way to keep track of mobs changing targets?
  Reply With Quote