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

Rollable Tables Bug if resu,lt starts with an integer

Hello I created a table for encounters out xanthars guide to everything A lot of these results start with 1d4 orcs, 3d4 goblins etc... However I notice if you roll from this table and your result starts with an integer e.g. 1d4 Orcs it outputs the result as 1 you have to hover over it to see the full result. It kind of seems like its only checking the first character for what type of value the result is rather than the whole thing to see that its a string As a workaround you can just rephrase the output e.g. Orcs 1d4 and this works fine but obviously I shouldn't have to do this for it to work using windows 10 and chrome  Version 92.0.4515.159 (Official Build) (64-bit)
1631109712

Edited 1631109803
Kraynic
Pro
Sheet Author
It actually isn't a bug.  You can create custom dice by using a rollable table, setting the numbers you want it to use, and then you can roll it like a normal die in a macro, including rolling multiples and having them automatically sum up.  So, if you have a weapon that uses the backgammon die for damage, you could make a table with those values to roll. Edit:  If you add anything before the number, it will work.  I sometimes use a period at the beginning to give something other than the integer.
Yeah I get it, just seems weird it checks if the first character is an int rather than checking the whole value that supplied
1631119899
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
In modules, the value is usually written as "orcs (1d4)" for this reason.
1631179836
Ziechael
Forum Champion
Sheet Author
API Scripter
I did some discovery on the options available in another thread a little while back, here are the results: If you really want the number as part of the result, everything bar the 2nd option below will work: