Page 1 of 1

[RFH] UseTalentsMenu:{generate,use}

Posted: Wed Aug 03, 2016 1:48 am
by Zizzo
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.

Re: [RFH] UseTalentsMenu:{generate,use}

Posted: Mon Oct 17, 2016 4:53 pm
by darkgod
done

Re: [RFH] UseTalentsMenu:{generate,use}

Posted: Mon Oct 17, 2016 11:16 pm
by Zizzo
Awesome. Thanks.