Use Alchemist Gems from Inventory has to overload UseTalents:use() entirely to insert its prompt-for-inventory-gems option into the talent right-click menu, as there are bits of said menu that aren't really available for manipulation from outisde. I'm thinking I might want to have Restart Sustains add a "Mark sustained talent" to the same menu (not least because Striking Stance isn't appearing in the dialog for some reason…), but it would have to overload the same method to do that, and that would make the two addons incompatible.
The listPopup dialog created by UseTalents:use() appears to be structured similarly to UseItemDialog, so I think it could benefit from hooks 'UseTalentsMenu:generate' and 'UseTalentsMenu:use' similar in design to the 'UseItemMenu:generate' resp. 'UseItemMenu:use' hooks in UseItemDialog.
[RFH] UseTalentsMenu:{generate,use}
Moderator: Moderator
-
- Sher'Tul Godslayer
- Posts: 2521
- Joined: Thu Jan 23, 2003 8:13 pm
- Location: A shallow water area south of Bree
- Contact:
[RFH] UseTalentsMenu:{generate,use}
"Blessed are the yeeks, for they shall inherit Arda..."
Re: [RFH] UseTalentsMenu:{generate,use}
done
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

-
- Sher'Tul Godslayer
- Posts: 2521
- Joined: Thu Jan 23, 2003 8:13 pm
- Location: A shallow water area south of Bree
- Contact:
Re: [RFH] UseTalentsMenu:{generate,use}
Awesome. Thanks.
"Blessed are the yeeks, for they shall inherit Arda..."