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

Dice rolling to keep the first 10 dice rolled out of a bunch.

I'm currently playing a Wild Mage that makes my caster level varies per each spell I cast. because of this when I i cast the fireball spell, my current spell Macro rolls anywhere between 8 and 13 D6, but the spell maxes out at 10D6. So im trying to figure out if there is a way to keep the first 10 dice rolled in the event that i go over the maximum.  My caster level is currently [[7+1D6]] Fireball damage is currently [[[[@{casterlevel}]]D6k10]] But K keep the 10 highest as apposed to the 10 first.  Thank you for your help in advance.
[[ [[{@{casterlevel}, 10}kl1]]D6 ]]
Silvyre said: [[ [[{@{casterlevel}, 10}kl1]]D6 ]] Can you explain what exactly that is doing? thank you
Rolls a number of d6's equal to the lower value between @{casterlevel} and 10. Documentation.
1438932811
Ziechael
Forum Champion
Sheet Author
API Scripter
Silvyre said: [[ [[{@{casterlevel} + 1d6 , 10 + 0d0 }kl1]]D6 ]] I think you need to add the bolded stuff above to reflect the flux in a wild mages caster level. Since you are adding a math function to one side of the comparison you need to add it to the other side to allow the kl to work otherwise you'll get a 'Cannot mix sum and M rolls in a roll group' error.
My caster level is currently [[7+1D6]] I inferred this to mean that the value of the @{casterlevel} attribute is [[7+1D6]]. If true, no such adjustment is required.