Thread: Unit Tooltip
View Single Post
08-26-09, 11:36 AM   #17
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
That is a possible issue when players change between their primary and secondary talent specs after nUI has inspected them because at present Blizz has no mechanism in place that allows mods to know when a raid or party member has changed specs.

Since nUI caches the spec once it is read, it could report the wrong spec if the player changes between primary and secondary. This is an issue I'm also looking for a solution to without having to reinspect the player every time you look at it... probably a cache that expires after X amount of time.

Two things I've asked Blizzard for is (1) the GUID of the unit being inspected to be returned in the TALENT_INSPECT_READY event so the readers can all be 100% certain which mob they are inspecting, and, (2) an event to alert mods when a raid or party member's talent points change.

Originally Posted by Aezay View Post
In the nUI code, are you calling GetActiveTalentGroup() to check the inspected player's active spec, because it just looks like you're reading their inactive spec in those screenshots.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/