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

Saving and Reusing Dice rolls

I'm wondering if there's a way to go about this with Macros so my players don't have to do so much book keeping themselves or keep scrolling up in the chat log. Lemme explain;  The system I'm tinkering with(Panic at the Dojo for those that know it) uses mainly flat actions and attacks. Your rolls though are used to pay for those actions, and the higher the die result, the more ommph you get. So as an example you roll a d8, 2d6, and a d4 and end up getting 7, 6,4, and 1. You can use an ability with just the 1 but if you pay with the 4, it gets a bonus effect, or even more effects if you pay with the 6 or 7.  So what I would like to try to do is find a way to save these dice rolls, let them pay with them through their ability macros. Maybe the saving is a bit much but I'd like perhaps something to input with, then check to see how high they paid(So the ability knows if they paid with certain thresholds).  Currently my idea is to just deal them out cards with their numbered rolls on it and they discard them to pay for said attacks but I wonder if there's an easier way to do this with Macros. I don't have Pro so no API for me.
1756101255
Gauss
Forum Champion
Hi Merlin,  So, to save rolls like that you will need a Pro account and to use API Scripts.  Something like ChatSetAttr or a custom script could save the rolls to attributes to be called later.  Reusing them shouldn't be a problem at that point.  Your card idea is a good one too. Alternately you could use dice counters.  For example, if you typed /r d8 + 2d6 + d4 into the chat you could then drag those dice out onto the table. Create "holding areas" for each player to store their dice in. 
I figured I would need like API for that.  Didn't know I could drag the dice results out like that too, I am probably WAY overcomplicating stuff with the card idea. Is there anyway to roll a bunch of dice and NOT have them total up though?
1756428677
Gauss
Forum Champion
Merlin said: I figured I would need like API for that.  Didn't know I could drag the dice results out like that too, I am probably WAY overcomplicating stuff with the card idea. Is there anyway to roll a bunch of dice and NOT have them total up though? Is the number and type of dice changing or unchanging? Being totalled up won't change whether you can pull the individual dice to the table. 
Gauss said: Is the number and type of dice changing or unchanging? Being totalled up won't change whether you can pull the individual dice to the table.  Pretty sure they're unchanging. There might be an ability in game that reads something like "Add +1 to your dice roll; so take a 3 and make it a 4" but I'd have to read the ruleset more to see if that's the case. And if it is, I can probably do the card thing for that. I'm already doing that for stacking buffs/tokens the system uses anyway.