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

A Rollable Table With a Nonlinear Distribution

Is it possible to build one?  That is to say if I has a table that called for rolling a 2d6 that is not the same as entering in 11 results into a rollable table.  A 2d6 will roll around 7 more often than a 2 or 12.  A rollable table will roll a 2, 7, or 12 equally.  So can I build a rollable table that doesn't have a linear distribution? Do I need to nest rollable tables to do this?  Or do I need to do percentage estimates of the results?  (ie a 2 ~ 2.77%, 3 ~5.55% etc.)
1505163110

Edited 1505163132
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Sure, just enter the appropriate weights for each entry.
So maybe I don't understand weights.  What are the weights appropriate for the results of say a 2d6 roll?
1505164396

Edited 1505164630
Value Possible Combinations Weight 2 1[1] 1 3 1[2], 2[1] 2 4 1[3], 2[2], 3[1] 3 5 1[4], 2[3], 3[2], 4[1] 4 6 1[5], 2[4], 3[3], 4[2], 5[1] 5 7 1[6], 2[5], 3[4], 4[3], 5[2], 6[1] 6 8 2[6], 3[5], 4[4], 5[3], 6[2] 5 9 3[6], 4[5], 5[4], 6[3] 4 10 4[6], 6[5], 6[4] 3 11 5[6], 6[5] 2 12 6[6] 1
1505164551

Edited 1505164592
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The weights don't accept decimals, but you can enter any weights you want, they don't have to add up to 100. So just multiply all those percentages by 100 to get 277 and 555 respectively for the weights of the 2 and 3. Based on the  rumkin dice averager , your percentages would be: Roll Freq Prob 2 1 2.8% 3 2 5.6% 4 3 8.3% 5 4 11.1% 6 5 13.9% 7 6 16.7% 8 5 13.9% 9 4 11.1% 10 3 8.3% 11 2 5.6% 12 1 2.8%  Which would turn into this for rollable table weights: Roll Freq Prob 2 1 28 3 2 56 4 3 83 5 4 111 6 5 139 7 6 167 8 5 139 9 4 111 10 3 83 11 2 56 12 1 28  Yep, or as Kyle posted, you can just use the frequency column as the weights.
The weights are how many different ways there is to roll the specified result. So for 2d6, there is only one way to roll a 2, so the weight would be 1. There are 2 ways to roll a 3 so the weight would be 2, and so on. Here are the weights for a 2d6... Result 2; weight 1 Result 3; weight 2 Result 4; weight 3 Result 5; weight 4 Result 6; weight 5 Result 7; weight 6 Result 8; weight 5 Result 9; weight 4 Result 10; weight 3 Result 11; weight 2 Result 12; weight 1
Gotcha - Thanks all.
1505167533
Andrew C
Marketplace Creator
Another easy way to think of 'weights' is 'copies in deck'. If you wanted a rollable table or a deck of cards that would have 8x 1, 6x 2, 3x 3, 2x 4, 1x 5, and 4x 0... then you just put the 'copy' number in for weights.