View Single Post
12-27-17, 08:25 AM   #2
briskman3000
A Flamescale Wyrmkin
 
briskman3000's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 108
So ignoring the Ace part (since I know nothing about ace). You are watching for ACTIVE_TALENT_GROUP_CHANGED to fire your code correct? If so, that event only fires when you change specs.

Before I changed my code for ConvertRatings to a not-dumb lookup method for Mastery Coefficient lookup (I used to have them stored in a table and looked up the player's spec and pulled it from a table, instead of just querying the active spec coefficient), I just had the spec lookup function plopped towards the top of my code with no calls so it just ran on all the events that cause non-event specific code to be run, and then I also had it plopped in an event check for ACTIVE_TALENT_GROUP_CHANGED, so that it would run on talent changes without forcing a reload or similar.

I would assume in ace that you could run an initial check based on the specid pulled on first login if you plop the check after the plopped specid pull, and then run triggered checks on ACTIVE_TALENT_GROUP_CHANGED.
__________________
My Addons: Convert Ratings Honor Track
  Reply With Quote