View Single Post
06-19-11, 01:19 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
Finding if a non-tank taunts is easy if you already have the GUID of the maintank (and offtank if applicable). However, it's impossible to reference to a mob that isn't being targetted by anyone as a UnitID does not exist for those mobs (other than bosses registered as Boss1, Boss2 ... BossN). Taunts are supposed to force a mob on the user by matching the aggro value of the person with the highest threat. In addition, most if not all taunts guarantee the mob to attack the user for 5 seconds or so. Such check would be unnecessary.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote