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

Can I drop "1" rolls out of exploding dice?

I want to be able to use exploding dice, but have 1s count as zeros.  Is it possible to discard 1s?  I couldn't see a way on the dice rolling page, but I'm just starting to use anything other than the basic rolls, so I could have missed it.  Thanks. 
You cannot discard particular valued dice but there may be a workaround. Can you fully describe (with examples) the dice roll you're attempting?
Ooooh, yes, I can!  Thanks!  I want to be able to roll a set of dice, discard the 1s, and reroll the maximums.  So if I'm rolling 4d4, and I get 1,1,3,4, I would discard the 2 1s, and reroll the 4. So if my reroll was 3, I'd get 10 (3+4+bonus 3=10) If I rolled again and got 1, 3, 4, 4, I would discard the 1 and reroll the two 4s. If they were a 4 and a 1, I'd discard the one and re-reroll the four. If it was a a 2, I'd end up with 17 (3+4+4=11 +bonus 4 +bonus 2=17).  The same thing would be true of any other die. If I was rolling 4d6 I'd reroll the 6s and ignore the 1s.  Does that make sense?   I appreciate any help you can offer! As I said, I'm new to this forum and still finding my way around!  Cheers! 
This macro can handle those cases [[ ?{How Many Dice|4}d?{Die Size|4|6|8|10|12|20}!d?{How Many Dice} + (?{How Many Dice}-[[ ?{How Many Dice}d?{Die Size}=1 ]])d(?{Die Size}-1)r1cs0 ]] It works by splitting the exploding part (the max rolls) and the non-exploding part where 1's are dropped. The actual dropping of 1's is done by the nested roll after which the non-1 and non-max values are rolled
Wow, thanks!  So if I understand correctly, it rolls all of the max rolls first, ignoring anything BUT a max roll (and presumably doing all of the repeat rolls at that time?)  Then it rolls all of the NON max rolls in a separate roll, ignoring 1s?  Do I have that right?  I'm basing this belief on what I'm seeing in the rolls; I don't understand macros enough to follow what's going on there!  Thanks for all of your help! 
You understand correctly