Open orcnog opened 1 year ago
I'm inclined to suggest this might be better as a module in its own right. It looks like you've got a good starter for the code. Why not create a module yourself and add interaction with Foundry VTT core as well as modules of your choosing?
Hmmm. Yeah it’s something to consider. But, from module to module, there’s no reliable way to query CTAs and know that they trigger adv/disadv-related functionality. Or at least I’m assuming there isn’t. A mod like that sounds hard to maintain… but hey maybe.
Description Provide color highlighting feedback on buttons if the user is holding a modifier key (ex: shift, ctrl/cmd, or alt) to apply advantage / disadvantage. I've provided a macro that I wrote which highlights text color when the right modifier key is held. Note that it takes into account whether or not Ready Set Roll overrides those native keybinds. There are likely other modules that do something similar that you may want to account for as well -- your call.
(I wish all modules would do this!)
Versions
Additional context For reference: this is my macro, which brings up a list of saving throw options, and also turns all text red on press-n-hold of ctrl/cmd, and green on hold of shift.