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 macro question

if you want to say roll 4d6 drop the lowest and if the total is less than 8 i want to reroll that set of 4d6...  how would i do that?
1520739885
GiGs
Pro
Sheet Author
API Scripter
I don't know to produce that with a roll expression, but I'd sidestep the issue and change the roll to 2d6+6.  Here's an anydice page showing how close they are . And you dont have to worry about rerolls.
no way to reroll a set based on the summed total?
Why not just make the minimum roll 8 with {4d6dl1,8}kh1 ?
1520741008

Edited 1520741027
GiGs
Pro
Sheet Author
API Scripter
Chase P. said: no way to reroll a set based on the summed total? There might be a way, I'm Silvyre could do it. It's beyond my ability though, I was just suggesting an alternative. For years now, I've switched to 2d6+6 (no rerolls) whenever playing any game that asks you to roll some variation of 4d6, keep 3. It's made those games better, IMO. That said, since you're a pro user, if you're the creator of the campaign you can definitely do it with a script if there's no other way. 
Kyle G. said: Why not just make the minimum roll 8 with {4d6dl1,8}kh1 ? "Cannot mix sum and M rolls in a roll group"
fixed the macro with this [[{4d6dl1,8d1}k1]]
well, keeping 8 as your minimum =/= rerolling the whole expression, but usually when you get that Cannot mix sum and M rolls in a roll group error, you can replace the 8 with a 0d0+8 to make the two parts 'the same' as far as the parser is concerned.