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

Replacing 1s with 2s

1618579325
Brian C.
Pro
Marketplace Creator
Compendium Curator
I have a 5e NPC that treats a 1 in any of her 4 sneak attack dice as if she had rolled a 2. Currently, I have the following roll which works, but I wonder if there is a better/cleaner way to do it? {[[1d6]], 2}kh1 + {[[1d6]], 2}kh1 + {[[1d6]], 2}kh1 + {[[1d6]], 2}kh1
1618579510
The Aaron
Roll20 Production Team
API Scripter
Make a rollable table named d6min2 with: Value : Weight 2 : 2 3 : 1 4 : 1 5 : 1 6 : 1 and roll as  [[ 4t[d6min2] ]]
1618579586
The Aaron
Roll20 Production Team
API Scripter
I actually have a script for this...&nbsp;<a href="https://app.roll20.net/forum/post/950142/script-weighted-dice-automated-rollable-table-creation-with-proper-statistical-distribution-for-minimum-rolls" rel="nofollow">https://app.roll20.net/forum/post/950142/script-weighted-dice-automated-rollable-table-creation-with-proper-statistical-distribution-for-minimum-rolls</a>
1618579599
Brian C.
Pro
Marketplace Creator
Compendium Curator
Ah, yes, of course. Out of interest, any ways that don't use a rollable table?
1618579681
Brian C.
Pro
Marketplace Creator
Compendium Curator
The Aaron said: I actually have a script for this...&nbsp; <a href="https://app.roll20.net/forum/post/950142/script-weighted-dice-automated-rollable-table-creation-with-proper-statistical-distribution-for-minimum-rolls" rel="nofollow">https://app.roll20.net/forum/post/950142/script-weighted-dice-automated-rollable-table-creation-with-proper-statistical-distribution-for-minimum-rolls</a> Of course you do. :D
1618579852
The Aaron
Roll20 Production Team
API Scripter
If you don't care about the statistical difference , you could just use d5+1.&nbsp; That's the only way I can think of that wouldn't be more complicated than what you already have.
1618579930

Edited 1618579938
Brian C.
Pro
Marketplace Creator
Compendium Curator
No, the rollable table is perfect. I got it to correctly show the roll results when clicking the NPC action, so all good. Thanks!
1618580491
The Aaron
Roll20 Production Team
API Scripter
No problem!
This is what I do for Elemental Adept rolls: [[{4d6+4d2r&lt;1}kh4]]