
How would I write a macro script to reset the value of a radial bar to the max of a linked Attribute in concert with an action.
Specifically, my characters have a stat called Avoidance, which is the target number of successes needed to hit them. Depending on the player's actions, this can fluctuate by a few points one way or another until their next turn. So what I'd like to do is tie a nested macro to an attack macro that resets the value of the bar to the default when executed.
I'm sure this can be done with the API, but can it be done through a macro? I know you can roll dice based on the Attribute max, but can you force the bar to reset from the current value?
Thanks.
Specifically, my characters have a stat called Avoidance, which is the target number of successes needed to hit them. Depending on the player's actions, this can fluctuate by a few points one way or another until their next turn. So what I'd like to do is tie a nested macro to an attack macro that resets the value of the bar to the default when executed.
I'm sure this can be done with the API, but can it be done through a macro? I know you can roll dice based on the Attribute max, but can you force the bar to reset from the current value?
Thanks.