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

Pass value to rollable table?

Is there a way to just send a value to a rollable table instead of actually rolling on it? For example, in DCC there are crit tables but the possible rolls can change from round to round, so setting up all of them and then rolling against it is not really an option. From what I can see, you can pretty much only do something like /r 1t[CritTable] which will then give you 1 roll against the table. For example, a crit table may look something like this: Weight Value Text 20% 1 Add 1 damage 20% 2 Add 3 damage 20% 3 Add 2d3 damage 20% 4 add 2d4 damage 20% 5 add 1d12 damage But one character might roll a d4+1 crit dice while another rolls a d4, so the second character technically can never roll a 5 so it should not be weighted at all. If you can pass a specific value to the rollable table and just get back the text, that would work.
1410018584

Edited 1410018609
DXWarlock
Sheet Author
API Scripter
I do not believe so without API, Just tried it, if so I cannot find how to do a tableroll-x like /r (1t[CritTable]-2)
no it can't be done without the api there is no place to store a variable. with the api you could have something that just serves to store the number then pass it to the table.
thanks.
Unfortunately the results of a Rollanble Table can only be used mathematically if they contain a Real Number value. They can't resolve the value of 2d4 as a roll since it will only render the first number before the 'd'. (so having 2d6 as a table value will just return the 2)