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

Is there a way to elegantly code Damage Rolls of 1 Become 2 (Elemental Adept Feat in 5E)

Is there an elegant shortcut for rolling damage for the Elemental Adept feat in 5E (in which all damage rolls of 1 become 2) I found this, Thank you Honey Badger! <a href="https://app.roll20.net/forum/post/715648/slug%7D" rel="nofollow">https://app.roll20.net/forum/post/715648/slug%7D</a> But, that gets a little long with a fireball. Something like this would be great [[8d6m2]]
If you don't need to see the dice on the board, a Rollable Table would work. &nbsp;There's a thread out there about that. &nbsp; Personally, I agree that I'd like it if there were a min-value option in an inline dice roll. &nbsp;(In my games Fine weapons do a min of 2 dmg and Masterwork do a min of 3 dmg, that way I increase avg dmg w/o increasing the ceiling.)
1453948194
Silvyre
Forum Champion
[[ {?{Dice Pool}d6, ?{Dice Pool} * 2 + 0d0}kh1 ]] should work. e.g. Fireball: [[ {8d6, 16 + 0d0}kh1 ]]
1453993375

Edited 1453994073
In order for it to work properly you really need to do it for each die as they are figured separately like {1d6, 2 + 0d0}kh1. I came up with this, it is long&nbsp; but it works great and lets you select the spell level that you wish to cast the spell. ?{Spell Slot Level|3, [8 dice (lvl 3)] {1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1| 4, [9 dice (lvl 4)] {1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1| 5, [10 dice (lvl 5)] {1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1| 6, [11 dice (lvl 6)] {1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1| 7, [12 dice (lvl 7)] {1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1| 8, [13 dice (lvl 8)] {1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1| 9, [14 dice (lvl 9)] {1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1+{1d6&amp;#44; 2+0d0&amp;#125;kh1 } Put this in place of your damage dice and magic happens.
1453993835

Edited 1453994112
Having some trouble with the HTML entities converting, give me a sec Ha, Beat those entity gremlins!
1453994472
The Aaron
Pro
API Scripter
To get the right distribution, a rollable table is really the easiest way to go. &nbsp;With a pro subscription, you can use my Weighted Dice script to create them: &nbsp; <a href="https://app.roll20.net/forum/post/950142/script-we" rel="nofollow">https://app.roll20.net/forum/post/950142/script-we</a>... !weighted-die 6 2 creates a rollable table named d6min2 with effectively the following faces: 6 5 4 3 2 2 Then your roll is just: [[8t[d6min2] ]] You can create tables like that without the script, it's just convenience. =D&nbsp;
There you go Aaron with the elegant solution.
1453998905
Silvyre
Forum Champion
Cool, that's a great script!