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 rolls with number X

Hi all, I've recently (think november last year) started playing DND here on this site. Right now I'm in a campaign playing a sorceress with the Elemental Adept feat. This means that every 1 I roll for element X is replaced by a two. Now I'm wondering how I can achieve this in a macro. For example take Fireball with 8d6 of dmg. Would I need to add 8 2s and say keep the highest 3? Or is there an easier to way to achieve this. I do have a small macro for doing this, but need to scale this to other spells. Current macro: /roll {[[1d6]],2 }kh1
1498765536
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The only way I know is to repeat what you already have multiple times.
1498766271

Edited 1498766602
The Aaron
Pro
API Scripter
I would create a Rollable Table named d6min2 with: Value : Weight 6 : 1 5 : 1 4 : 1 3 : 1 2 : 2 Then roll it like: [[8t[d6min2] ]] or /roll 8t[d6min2] That will give you the right distribution and behave like regular dice. If you need to know that a 1 was rolled but replaced with a 2, you can instead weight 2 as 1, and add an entry 2 [1] with weight 1:
1498766968
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Gah, I always forget that method
1498767270
The Aaron
Pro
API Scripter
=D  I actually have a script for creating these called WeightedDice. =D
thx for the help :D This is exactly what I was looking for :)