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

Newbie-Custom Dice Question

1584662984

Edited 1584663475
Our system is d6-based, where each die represents a potential Success Point, but "One's" count for zero, and "Sixes" count as two Success Points. How do I code that? Example: a player swinging a sword rolls 7d6 (from their DEX attribute), 2 more d6 from their Melee Weapon Skill, and 1 more because it's a +1 magic item. All told, they roll ten dice and get: 1 (zero Success), 1 (0), 3 (1 Success), 4 (1 S), 4 (1 S), 5 (1 S), 5 (1 S), 6 (2 Success), 6 (2 S), 6 (21 S) for a grand total of 11 Success Points. Second Question: does Roll20 have the ability to save such custom roll types? 
1584665449
Pat S.
Forum Champion
Sheet Author
As far as I know, the standard die roller will not do what you want. You would need to visually count the dice. There is a roll modifier that will make the dice display from low to high so they are grouped together. I believe there is an API script (pro feature) that can do what you want or it can be written. I'm at work on my phone so I'm not able to toss links to the post.
This post answers that question.
1584694725
Ziechael
Forum Champion
Sheet Author
API Scripter
^^ Yup, rollable table rolled x times is the answer here.
Booyah! It works! Thanks. Now, how would I save  /roll ?{Dice?|3}t[FASTd6] so that my players don't have to type it in over and over?
Never mind, figured it out--make a Macro. Thanks again! Hey, would I be better off going Pro and using an API to script out this sort of thing? Opinions?