Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[HELP] Contingent Resource supply

Hello again!  I have a good one for you guys! I have a monk player who just chose the Way of the Ascendant Dragon as his Monastic Tradition. Several abilities in this path allow a character to use them a number of times equal to their Proficiency Bonus, and if they run out, they can spend a Class Resource (Ki point) to use it anyway.  I currently have ChatSetAttr in their Token Action Macro that automatically deducts a Ki point from class_resource and displays how many they have left for standard Ki abilities. I am setting one up for this new Dragon Breath ability, and I was wondering if there is a script (ChatSetAttr, Powercards?) that will let you reconcile one attribute for another in this way For example, if Other_Resource is at 0 (floor), it deducts from Class_Resource instead? I know this is a conditional, and macros don't do conditionals, but I was wondering if anyone could blow my mind with a miracle solution.
1605589894
GiGs
Pro
Sheet Author
API Scripter
This would need to be a custom script, I think.
Powercards could do this. Then the PC could choose which pool to choose from. OR… If it needed to be on the fly and make the fast decision, it should be possible. Could do something like [$chk1] = Other_Res + 1d0  [$chk2] = Class_Res + 1d0 Now you have these 2 values to choose from, and set conditionals.