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

[Question] How to use one die roll for two different fields in a roll template

1528255740

Edited 1528255799
Darren
Pro
Sheet Author
API Scripter
How would I roll one set of dice and display the result unaltered, and then display the same roll with an added bonus, both in the same roll template? Really fast (so ignore bugs) &{template:hero6template} {{attack=[[ 3d6 ]]}} {{dcvhit=[[ 3d6 ]]+@{ocv}-11}} <rolltemplate class="sheet-rolltemplate-hero6template">     <div class="rt-main">         <div class="rt-line">Attack Roll: {{ attack }} </div>         <div class="rt-line">DCV hit: {{ dcvhit }} </div>     </div> </rolltemplate> I want to only roll 3d6 once, and use it in both properties.  Is this possible?
1528265291
Jakob
Sheet Author
API Scripter
No can do. You can use the exact same roll twice, but it cannot be modified.