- Refit Golem
- Gem Portal
- Throw Bomb
- Shockwave Bomb
- Thunderclap
Now, to make this work, the internal implementation has to actually physically swap the selected gems into the quiver before using the talent and back out afterward, so you'll see log messages to that effect (I've tried to make an effort to avoid triggering Swift Hands' cooldown; let me know if I got that wrong or missed something related). And yes, technically this is probably sort of cheating, so it probably won't be going into ZOmnibus.
[And for addon developers, if your addon adds talents that use alchemist gems and you want them to be bindable with this talent, all you need to do is add a 'uses_alchemist_gems' field to your talent definition; its value should be either the number of gems needed or a function(self,t) that returns the number of gems needed.]
[Technical notes:]
Code: Select all
Hooks:
ToME:load [to mark talents that use alchemist gems]
Superload:
mod.class.Actor:
hasAlchemistWeapon() [to change alchemist gems for talent description purposes]
preUseTalent() [to prompt for and wield alchemist gems]
postUseTalent() [to re-wield original alchemist gems]
mod.dialog.UseTalents:
use() [overloaded, to add our binding to the appropriate talents]