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 .
×

Is this a possible roll?

Hi, This is&nbsp;my first post in this forum. I just recently joined the site and everything looks great. After reading some of the documentation in the site I went to develop my first campaign, which is for a game system that I'm currently developing. Obviously, I didn't expect the rolls that my system uses to be readily available. So, after a look in the "Dice Reference" page (<a href="https://wiki.roll20.net/Dice_Reference" rel="nofollow">https://wiki.roll20.net/Dice_Reference</a>) and in the forums, I couldn't find what I was looking for... The roll that I couldn't find is, in short, a D6 roll in which the results compare to a target number (Lower or equals is considered a success) and then adding together the values of all the succesful dice. For example: Rolling 5d6 with a target of 3: 1, 2, 3, 5, 6. (3 Successes) So, the total value of the roll would be 6 I tried with Drop/Keep, but it only drops an amount of dice if they are the highest or the lowest, not according to a set value of the die. Also tried with the Target Number, and it correctly identifies the successes, but I couldn't find the option to sum only the successes. Is there any way to do it? Thanks.
1440431573
Pat S.
Forum Champion
Sheet Author
The standard dice roll engine can not perform the if then function that your roll would require (If a success then sum it together) but you can do it with the API (it is a pro subscription level feature). You can see all the features each level gets&nbsp; here .
The successes part could be achieved with "/roll 5d6&lt;3", but you would have to add the rolls together yourself.
Outside of API scripting, you may be best off with a simple visual addition and just sort your rolls to show your results in order. /roll&nbsp; 5d6sd&lt;3&nbsp;&nbsp;&nbsp;&nbsp; should display the dice rolls in descending order as well as the number of successes. You won't be able to automatically add the results, though.
Ok, got it. Thank you very much.