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

Using Result Of Roll As Calculation In Roll Display

Is it possible to create a macro that displays additional information about a roll. I am specifically thinking about criticals and specials for RQG So if on d100 a 4 is rolled I get the display: = 4, skill must be 70 for critical & 18 for special Where a critical is 20 * the rolled amount minus 0.5 and the special 5 * the rolled amount minus 0.5
1577398890
GiGs
Pro
Sheet Author
API Scripter
Sadly now, its not possible. In simple macros, you cant do conditional stuff (if roll is 4 do this, if roll is 20 do this instead).  Pro users can use the APi to do things like this, and character sheets often have built-in templates that allow some level of conditional logic, but using standard macros, you have to print out everything you need. You can show the critical value along with the roll, by calculating it. For instance, here's a default rolltemplate that shows the critical and special chances. ?(template:default} {{name=@{selected|character_name} makes a roll}} {{Skill=?{Skill Name} }} {{Skill Score=?{skill score|0} }} {{Special=[[round(?{skill score}/5)]]}} {{Critical=[[round(?{skill score}/20)]]}} {{Skill Roll=[[1d100]]}} (Line space inserted for clarity). The RQG sheet might have a rolltemplate that does something similar - i havent used it.