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

Set Successes?

I've read through the Dice Reference page two times just now and can't find something I swore I saw last night... I want to have a macro that say to roll a [insert # of]D100s. What I'm having trouble with is setting it so that it tells the roll that "Only the numbers 10, 20, 30, 40, 50, 60, 70, 80, 90, and 100 count as successes." I swear I saw it last night, but for some reason can't find it now, and my eyes hurt from reading through the reference sheet... ;-; I thought it was in the "Target Number / Successes" section, but it's not.
1428523824
Lithl
Pro
Sheet Author
API Scripter
I don't know if it's what you saw, but this should work: [[{d100 % 10}<0]] This will check the remainder of d100 / 10, and if it's 0 (the d100 was a multiple of 10) it's a success while if it's 1-9 it's not.
1428523942
The Aaron
Roll20 Production Team
API Scripter
Target number of successes is for then number of dice in a set that have values greater than some number. You could use the Critical Success modifier for this: <a href="https://wiki.roll20.net/Dice_Reference#Critical_Su" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Critical_Su</a>... [[ 1d100cs10cs20cs30cs40cs50cs60cs70cs80cs90cs100 ]]
1428525473

Edited 1428525860
The Aaron said: Target number of successes is for then number of dice in a set that have values greater than some number. You could use the Critical Success modifier for this: <a href="https://wiki.roll20.net/Dice_Reference#Critical_Su" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Critical_Su</a>... [[ 1d100cs10cs20cs30cs40cs50cs60cs70cs80cs90cs100 ]] This one seems to work well for what I need! However, is there a way I can modify it each time I need to roll it, like adding the "{ }" around the D100 part? Figured it out on my own; nevermind on that one. ;0;
1428538545
Falcon
Pro
Sheet Author
Star Frontiers using a similar model. If a blunt weapon hits at 10, 20, 30 then its a knock out. But first you have to be below the % to hit. I never thought of grouping cs#cs# like that. I am going to try this out. Thanks Aaron / Brian / Taylor.