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

Rollable table roll with advantage/disadvantage/Normal

Is there a particular syntax that would allow rolling twice on a table and keep the highest or lowest result on the table (given that my entries all have a number to start with between 1 and 20) ? Not sure it is possible actually
1664475341
GiGs
Pro
Sheet Author
API Scripter
It's not possible without a pro subsciption and a cstom script to manage picking table entries (ScriptCards can probably do it, with some finagling). Rollable tables have no conceot of numbered entries, so there's no way to roll on the table the way you typically do in rpgs.  Thats why you need a different table for each different modifer.
1664475928
timmaugh
Pro
API Scripter
This is what the Muler metascript is for. You'd create a mule-table of your values which you can select from by number (like a dictionary lookup). That way, you can handle your rolling separately, keep the highest value, and then use that to return the value from your mule-table. I owe another thread an example, which I'll get to a little later, but I can share it here, too.
1664478673
GiGs
Pro
Sheet Author
API Scripter
You need decent documentation for all your meta scripts! i never recommend them because I don't what each is used for.
1664480618
timmaugh
Pro
API Scripter
There's this... <a href="https://wiki.roll20.net/Meta-Toolbox" rel="nofollow">https://wiki.roll20.net/Meta-Toolbox</a> I should expand all of the functionality into a series of wiki entries, and maybe I'll do that after I push a couple of updates out.