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

use a specific die to roll from a roll table

December 23 (3 years ago)
borings b.
Pro
Marketplace Creator

so i couldn't find anything about this specifically, but i am trying to make a macro that allows players to roll from a chart that has results from -8(or lower) up to 20. on the players end, they roll a d20 with some amount of negative modifiers. i know i can do a macro where they specify the modifier, but i want the result box to actually tell them the result they got on the table. it seems like the rollable tables we have now are less rollable tables than rollable bags of results.

December 23 (3 years ago)
The Aaron
Roll20 Production Team
API Scripter

You're right about that. Here's an API script that can do this for you: https://app.roll20.net/forum/post/1408851/script-real-rollable-tables

December 23 (3 years ago)
borings b.
Pro
Marketplace Creator

does this account for the different weights of values? i can't see anything in there to tell if it is, but my javascript is pretty poor and i might not be parsing it properly. if its not i can just add duplicate values but i figured i should ask before i go through the effort. either way aaron, thanks, this should do nicely