This program helps warlocks quickly cast Dark Intent
What this addon does is query all the members in the party or raid to get the class and spec and pick the best candidate for Dark Intent. It will then whisper that person.
The selection priority lists are based on Gherkin of MMO Champions Dark Intent mechanics thread in the warlock forum
He also helped me merge the healers into the lists in the correct positions.
I use libGroupTalents to get the spec info, thanks to Zeksie, and Greltok for writing such a solid libary.
I'm not yet sure how much GUI interface to add to this yet. I was thinking about flashing the unit frame of the pick, but since so many different frame addons are out there, I don't think this is a good idea. I like to sort out functionality first anyway, then add the window dressing as needed.
So if you have a warlock and want to try it, that would be great or just take a look at my code and let me know where it might need to be fixed.
I'm a C programmer at work so Lua is a little off to me.
(Hey, maybe I should just define local printf = print, then my code would run a lot more often the first time!)
I was thinking about flashing the unit frame of the pick, but since so many different frame addons are out there, I don't think this is a good idea.
I don't have a warlock, so I can't offer much in the way of feedback on how useful or usable the addon is, but for this part, you could use CallbackHandler-1.0 to fire a callback when the pick changes (including when it changes to nobody). Unit frames or other addons could register for the callback, and display that information however they wanted.