
Hi All! I'm hoping this is a simple question. I've got a pseudo-combat automation API running. For the most part it is running really well (yes, that is said with some surprise ;-)). However, in order to determine advantage/disadvantage I currently prompt (via query) my players on every attack they make. Since most combat is 80% or more advantage/disadvantage free this gets a bit tedious in my opinion. What I was wondering is if there is a way to have a macro button sitting on their quick bar that they would click, get a chat message with a couple of API buttons on it, click one that would config that attack for either advantage or disadvantage, and then reset itself back to default of standard when done? This way, normal combat can flow along without a lot of unnecessary prompting until it is necessary. I was taking a look at a couple of Aaron's scripts, especially tokenMod, and see that you can set the "playersCanUse_ids" on the fly by clicking the API button to toggle it. Now that gets stored across the whole session (until next sandbox spin up), correct? Although, for this I only want it to be toggled until the current player is completed with their turn. Possible? If so, a simple example would be appreciated and I can take it from there. Thanks!