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

Min value on rolling stats

Hi, I am trying to make a command that can roll stats with a minimum value. Normally I use this: &{template:default} {{name= Ability Scores}} {{[[4d6dl1]]}} {{[[4d6dl1]]}} {{[[4d6dl1]]}} {{[[4d6dl1]]}} {{[[8]]}} {{[[15]]}} but it can throw out some totals >70 and I have a min stat total of 70 and so I want a quick way of it just scrapping that and rerolling, because I will forget that min value at times (as one of my players knows). I know I can do like /r 1d20r9 to reroll below a 9 or whatever but I want to reroll the whole table if the total is less than 70. I dont understand roll20 syntax (the command isnt mine originally, i just use it) so I dont know how to reroll a table. Please help if this is possible, it might save my players future headaches and pains of playing a weaker character because I forgot.
1657036655

Edited 1657036748
Ziechael
Forum Champion
Sheet Author
API Scripter
You could do something like this: &{template:default} {{name= Ability Scores}} [[ [[4d6dl1]] + [[4d6dl1]] + [[4d6dl1]] + [[4d6dl1]] + 8 + 15 ]] {{$[[0]]}} {{$[[1]]}} {{$[[2]]}} {{$[[3]]}} {{[[8]]}} {{[[15]]}} {{Total=$[[4]]}} It isn't a huge improvement but will at least give you a quick guide on whether a reroll is needed. It uses the reuse rolls 'trick' to provide a summary as well as showing the individual rolls made.