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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Hide attribute formulas in /roll output

1419906397

Edited 1419906509
Ken
KS Backer
If you've ever used the D&D 5e sheet and rolled any checks, you've probably seen the Proficiency Bonus's formula evaluation, which looks something like: (ceil((0 + 0 + 4 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0)/1e10) + ceil((0 + 0 + 4 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0)/4)) That, along with a potentially large number of other modifiers to the roll, makes things a bit harder to read. If you use rolls embedded in macro text instead of /roll (which the sheet's buttons thankfully do), you'll only see the totals... unless, for some reason, you need to look at a particular component of the roll (such as the die roll itself, if you have expanded crit range). Then you'll get a tooltip containing a difficult-to-parse mess and have to hunt through it to find what you want. The frequent use of the rolls-in-text method among character sheet authors is a pretty good sign that the output of /roll could use a makeover. So here's what I'm proposing: Groups within a die expression that have a comment applied show summarized values instead of complete formulas. For example: (Assume: Bob's PB is 2, Level is 2, and IntMod is 3) /roll 1d20 + {@{Bob|PB}*2}[Expertise] + {@{Bob|Level}d6+1+@{Bob|IntMod}}[Misc] rolling 1d20 + 4 [Expertise] + 2d6+4 [Misc] (15) + 4 [Expertise] + (1+3) + 4 [Misc] = 27 For bonus points, make the groups in the "rolling" line clickable, and expand the clicked group by one step. That is, if the formula for PB was specified with appropriate comments, expanding the "Expertise" group above would show the formula for PB and indicate that it depends on a value labeled "Level" without showing how level is calculated (unless you then click on that). Alternatively, instead of using the comment blocks to get this effect, hide the formulas of all attributes. So we might instead have: /roll 1d20 + @{Bob|PB}*2 + @{Bob|Level}d6+1+@{Bob|IntMod} rolling 1d20 + [2]*2 + [2]d6+1+[3] (15) + 4 + (1+3) + 4 = 27 In this version, the square brackets around the values on the "rolling" line represent a special style. Mousing over them will indicate the character and attribute they came from in a tooltip, and clicking might expand them.
If only I had some votes free...
1550175372
Roll20 Dev Team
Pro
Marketplace Creator
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .