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 .
×
May your rolls be chill this holiday season!
Create a free account

"any roll less than 10 = 10"

1485402200

Edited 1485405970
I have this awesome new rogue ability where any time i roll a 9 or lower the dice roll becomes a 10 instead, but i'm struggling with implementation on roll20 for it. right now what i have looks gross: {{ [[1d20+@{dexterity-mod}+@{prof}]] | [[10+@{dexterity-mod}+@{prof}]] }} (results looks like "15 | 21") I've tried [[1d20r<9...]] but then i don't necessarily get a 10 on the reroll. is there a way to just say less than 10=10? EDIT for anyone that happens across this. [[{1d20cf<0, 10+0d0}kh1+...]] is the final answer.
1485403328
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You want the grouped drop keep syntax: [[{1d20,10}kh+@{dexterity-mod}+@{prof}]] <a href="https://wiki.roll20.net/Dice_Reference#Grouping_Rolls" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Grouping_Rolls</a>
Small adjustments to Scott's answer: you'll want to use&nbsp; [[{1d20,10 +0d0 }kh 1 +@{dexterity-mod}+@{prof}]]
1485405613
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Woops, always forget all the options need to be rolls or none of them.
Put that in, got this error:&nbsp;SyntaxError: Expected [0-9] but "+" found. changed to&nbsp;[[{1d20,10}kh1+@{dexterity-mod}+@{prof}]] and got THIS error: Cannot mix sum and M rolls in a roll group so I changed it to&nbsp;[[{1d20,10d1}kh1+@{dexterity-mod}+@{prof}]] and it works, but now it always outputs the colored results because i'm rolling d1's.&nbsp; So it's usable, but could be prettier.
1485405771

Edited 1485405805
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Did you replace the 10 in my example with the +0d0 Silvyre corrected it with, or do 10+0d0? That error you mention first sounds like you replaced it.
alright 10+0d0 works. One last complaint, when the d20 rolls a 1 it still turns red. Any way to get rid of that?
1485405835
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Yep add cf&lt;0 after the 1d20.
you posted your correction like 2 seconds before i posted my reply :P I found it amusing.
alright. Everything works and is pretty.
1485405936

Edited 1485405962
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Heh, we're a pretty active community. Based on my forum experience, the average answer time for a specific use question like yours is in the minutes range :) happy rolling, glad it's all working.
1485422669
Kryx
Pro
Sheet Author
API Scripter
If you're using the Shaped sheet there is a feature that automatically applies the reliable talent feature. I forget if it's in 7.12 or the upcoming version 9 though.