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

IF

1477217978

Edited 1477217994
Is there a way to add successes to the roll if rolled at least one success?
1477218854
Tetsuo
Forum Champion
How do you mean? Do you want exploding dice? /roll 1d6!>4 would roll 1d6, and on any result greater than a 4, would roll a 2nd d6 and add it to the total
1477219419

Edited 1477219980
Well. Not really.  Lets say I roll 3d20>15 and IF this roll nets at least one success you add 2 more successess. If it happens to get 1 success the macro would add 1+2 and display that roll got 3 successes totall. If the original roll doesnt net a success the +2 is not added either and the total result would be 0 successess.
1477220468

Edited 1477220517
Tetsuo
Forum Champion
Ok. you can do this: /roll (1d20>15)*3 For this effect:
But its not adding, its multiplying. If the original roll nets 2 successess I end up with 6 successess total.  I need something like that: 0 success rolled = 0 successes 1 success rolled = 3 successes 2 successes rolled = 4 successes
1477221585

Edited 1477221926
Tetsuo
Forum Champion
I can't think of a way to properly make it work as is. I think you'd need the help of the API, which is a pro level feature. EDIT: Wait, are you always rolling a set number of dice?
Not really. It's for a Chronicles of Darkness where you roll for an attack with skill+attribute and add weapon modifier only after you succeded in action.
1477223261
Tetsuo
Forum Champion
Then I personally can't think of a way without the use of the API. Sorry!
/roll (3d20>15)+2
1477224532
Tetsuo
Forum Champion
SkyCaptainXIII said: /roll (3d20>15)+2 results in 2 if 0 sucesses are rolled.
Franky H. said: SkyCaptainXIII said: /roll (3d20>15)+2 results in 2 if 0 sucesses are rolled. Best you're going to get without using an API. So just ignore anything with two successes.
Another way- which isn't directly adding to the roll- is adding after the fact.  It would be easy enough to add "+2 successes from Potence" to be displayed after the roll.  You would still get the "0 successes" result, but there would be a note reminding anyone reading it that you can add two extra successes. This is especially easy if the sheet you are using has a notes section for the roll.