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.

Simple roll functions for sheets.

I think what would be helpful for sheets (especially if you don't want to gatekeep the sheet behind the API) would be something similar to the roll template, a roll function. Like a template you would add a html div with a name like <rollfunction class="sheet-rollfunction-coolgame">   {{#callTemplate() coolgame result #dice otherValue [[#dice / 10]]}} </rollfunction> And call it like &{function:coolgame} {{dice=[[2d8]]}} Unlike other suggestions, all this is asking for is to pass an inline roll to a function that resolves that and then returns a second inline call using the results of the first, this could simplify many sheets as well since you can make several functions that use the sheet's attributes and settings (like advantage/disadvantage in D&D or fastSL in Warhammer), and not have to pass them all in on every roll macro call. And lets you do multiple calculations on the same roll (successLevels in Warhammer for instance).
1583745033
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 .