Quantcast WoWInterface - View Single Post - get class spec of Enemy Unit in BG
View Single Post
12-31-12, 02:04 PM   #2
An Aku'mai Servant
endx7's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2005
Posts: 38
The simple answer is that enemyRole, enemySpec, and enemyClass haven't been set yet when the function returns their values. The INSPECT_READY event is fired at some point in the future after that point.

Also, you also really don't want to be creating a new frame/event handler for every call.
  Reply With Quote