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

Dropping only a specific number in a roll?

Background: My friends FIRST time running a game, she is going with a modified Kuro system. We did the first game and it went well but she "wanted to make the system her own" and her way of doing that was partly making changes to the Kuro die system. Mainly 3 are exploding dice, and 6's are actually critical failures.  (As opposed to 6 being exploding and 4's a failure in Kuro) I made the following macro for her and our players (and honestly, for my own sanity) that simply asks what the action is (Using a handgun for example) and how many dice you are rolling. This is the gm only one but I also have a "public roll" one. /w gm ?{Describe your Private action} /w gm [[?{How many dice|0}d6cs=3cf=6!3s]] I know you can drop the lowest dice or highest dice, but is their a way to just drop all rolled 6's so they don't get added to the inline total? So that if I rolled a 1+1+5+5+6 it would show the inline total as 12 and not 21? Thanks!!
1610288654
GiGs
Pro
Sheet Author
API Scripter
I can think of two ways. First, create a rollable table, with number 1, 2, 3, 4, 5, 0. Then you can call it with ?{How many Dice|1}t[table-name] The second way would be to roll d6-1, so ?{Dice?|1}d6 - ?{Dice?|1}. This is because 1d6-1 gives exactly the same as rolling 1d6 and discarding the 6. In both methds, you have results of 1, 2, 3, 4, and 5,  and a 0 (or discarded) die.
The first doesn't seem to actually roll the table but just prints out for example 4[table-name] neither works as written but puts me on the right path so I'll play around with the formatting and see if I can get it to work. The exploding dice need to work as well so that likely leaves out the table method.
So I went this route [[?{How many dice|0}d6cs=3cf=0!3s - ?{How many dice|0}]]  which mostly works except exploding dice do not get the -1 so can't "fumble"  
1610312766
Jordan C.
Pro
API Scripter
If that's exactly the result you would need a "t" between the number and the left bracket to become "4t[table-name]" and that needs to be wrapped with inline roll brackets or be after a /roll command 
1610323224
GiGs
Pro
Sheet Author
API Scripter
If you use the penetrating exploding dice option they get a -1 applied to them:&nbsp;<a href="https://wiki.roll20.net/Dice_Reference#Penetrating_Dice_.28B.2CF.29_.21pCP" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Penetrating_Dice_.28B.2CF.29_.21pCP</a>
in effect, that's what it is doing already. I DO NOT want it to do that.&nbsp;
1610481694
David M.
Pro
API Scripter
So, to combine what GiGs and Jordan were describing, the roll using tables would be something like: [[ ?{How many Dice|1}t[table-name] ]]