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

Need help for command.

Hey friends,
I need some help with a Roll20 command.
I need a command that:

  • Rolls 10d10
  • Counts any dice showing 1, 2, 3, 4, or 5 as a success
  • Rerolls all 1s but still counts them as successes.

Currently, I have this: [[10d10r1<5]]
But this command rerolls the 1s without counting them as successes.

For example, if I roll 1d10:

  • I get a 1
  • It rerolls and, say, gives a 6
  • It counts 0 successes, but it should count 1.

I also tried this command: [[{10d10!}>4]]
But this one rerolls 10s instead of 1s. Any ideas?

January 21 (3 weeks ago)
[[10d10!1<5cs<1cf>11]]

This should do it (with adjusted critical highlights added for good measure).

the answer was 

[[10d10!<1<5]]

January 22 (3 weeks ago)
StéphaneD
Pro
Sheet Author
API Scripter

Hi

Actually the response is

 [[10d10!1<5]]

where

!1

changes the exploding value for 1 instead of the max die value


<5

counts successes

January 22 (3 weeks ago)

Edited January 22 (3 weeks ago)
Gauss
Forum Champion

Hi StephaneD, 

I think this is a case of the user asking the same question in multiple arenas. They got an answer from me in Roll20 Discord, an answer from Tuo here, etc. 

Both answers work fine. Tuo's also covers dice colors, which in this instance won't come into play but Tuo didn't know that as the OP didn't provide that level of detail here. 

Regarding !<1 vs !1...I tend to use things I don't need to just to streamline my process. 
Since !<# works in all situations and !# only works in a limited situation I tend to leave the extra character in. Asthetically "my bad" but not a functional difference.