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

Maximum or Minimum Argument

Is there a maximum or minimum argument? I know I have asked this before, but could not find it. Example something that works out like this /roll max(12d6,24) This would let the player makes his roll, but the minimum results would be twice his dice.
1387760544
Gauss
Forum Champion
Effectively, yes. /roll {12d6, 24}kh1
Why didn't I think of that? Thanks for the help.
1387769762
Gauss
Forum Champion
NP :)
Ah, I had a chance to try it today and it did not work.generates error Cannot mix sum and M rolls in a roll group. However by editing it to 24d1 worked fine in place of just typeing the 24 modifier. The following formula worked perfectly for what I needed. /roll {5d6!!k1, 12d1}kl1 - For keeping the lower of the roll or 12. /roll {5d6!!k1, 12d1}kh1 - For keeping the higher of the roll or 12.
1387954091

Edited 1387954185
Gauss
Forum Champion
Sorry, my bad. Yeah, what you did works. :)
It does let me add values after the statement so I can do the following for a powerful spell for example /roll {5d6!!k1, 12d1}kl1+6