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 .
×

Treat 1s as 10s (and similar)

The GM in a game I'm in has given us an item with the effect "when you roll a 1 on this weapon's damage dice, you can treat it as the maximum instead." (It's a d10 weapon, but you could also apply damage bonuses to it). While I figure you can do this with a rollable table, does anyone know of a way to automate it using roll20's default dice mechanics? Our group has some pretty decent macro wizards but this question has defeated them.
1771557454
Gauss
Forum Champion
Hi MatutinaStella,  Does this need to accomodate multiple dice or just one dieroll?
Gauss said: Hi MatutinaStella,  Does this need to accomodate multiple dice or just one dieroll? Ideally it would allow for multiple dice without being super messy, but I'll take what I can get. I had a bit of a realisation this morning and I think I might have solved it. {1d10+1, 0d0+10}dh1 will roll 1d10+1 with a maximum value of 10, which ought to give the same distribution. I can't figure out how to adapt this to multiple dice though.
1771604187
StéphaneD
Pro
Sheet Author
API Scripter
Hi For a 2d6 roll, {1d6+1,1d6+1,0d0+6,0d0+6}dh2 should do the trick
1771615380
Gauss
Forum Champion
This is one of RainbowEncoder solution's: [[ {?{number of d10s}d1*10 + ?{number of d10s}d10 }k?{number of d10s} ]]