Mixed dice pools (+)
At the table
Some rules roll different dice in one throw and then compare individual results—classic “roll 1d12 and 2d6, take the highest.” That is one pool of three dice, not the sum of a d12 total plus a 2d6 total.
Try it
Copy the script into the playground editor and click Run.
The script
↗pool = dice_pool(1, 12) + dice_pool(2, 6)
output("highest", pool.order_stat(1))
output("pool_sum", pool.sum())
output("same_as_three_d6_highest", dice_pool(3, 6).order_stat(1))
+on twoDicePoolvalues joins them: every die from the left pool, then every die from the right, still rolled independently.d(12) + dice_pool(2, 6)does the same if you prefer a single die on the left.pool.sum()is still “add every die”—here 1d12 + 2d6 summed, not the same asorder_stat(1).dice_pool(3, 6)is three matching d6; the comparison line shows how that differs from 1d12 + 2d6.
Reading the result
highest tops out at 12 (when the d12 shows 12). The best of three d6 tops out at 6, so the two order_stat(1) tables look very different even though both pools have three dice.
Try this
- Build
d(20) + dice_pool(2, 6)and compareorder_stat(1)todice_pool(3, 6).order_stat(1). - Add a flat bonus after you collapse the pool:
(dice_pool(1, 12) + dice_pool(2, 6)).sum() + 2.
More pool recipes: cookbook index. Conventions: API conventions.
highest · DieRoll · mean 7.229
| outcome | % | frac | X/432 |
|---|---|---|---|
| 1 | 0.23 | 1/432 | 1 |
| 2 | 1.62 | 7/432 | 7 |
| 3 | 4.40 | 19/432 | 19 |
| 4 | 8.56 | 37/432 | 37 |
| 5 | 14.1 | 61/432 | 61 |
| 6 | 21.1 | 91/432 | 91 |
| 7 | 8.33 | 1/12 | 36 |
| 8 | 8.33 | 1/12 | 36 |
| 9 | 8.33 | 1/12 | 36 |
| 10 | 8.33 | 1/12 | 36 |
| 11 | 8.33 | 1/12 | 36 |
| 12 | 8.33 | 1/12 | 36 |
pool_sum · DieRoll · mean 13.500
| outcome | % | frac | X/432 |
|---|---|---|---|
| 3 | 0.23 | 1/432 | 1 |
| 4 | 0.69 | 1/144 | 3 |
| 5 | 1.39 | 1/72 | 6 |
| 6 | 2.31 | 5/216 | 10 |
| 7 | 3.47 | 5/144 | 15 |
| 8 | 4.86 | 7/144 | 21 |
| 9 | 6.02 | 13/216 | 26 |
| 10 | 6.94 | 5/72 | 30 |
| 11 | 7.64 | 11/144 | 33 |
| 12 | 8.10 | 35/432 | 35 |
| 13 | 8.33 | 1/12 | 36 |
| 14 | 8.33 | 1/12 | 36 |
| 15 | 8.10 | 35/432 | 35 |
| 16 | 7.64 | 11/144 | 33 |
| 17 | 6.94 | 5/72 | 30 |
| 18 | 6.02 | 13/216 | 26 |
| 19 | 4.86 | 7/144 | 21 |
| 20 | 3.47 | 5/144 | 15 |
| 21 | 2.31 | 5/216 | 10 |
| 22 | 1.39 | 1/72 | 6 |
| 23 | 0.69 | 1/144 | 3 |
| 24 | 0.23 | 1/432 | 1 |
same_as_three_d6_highest · DieRoll · mean 4.958
| outcome | % | frac | X/432 |
|---|---|---|---|
| 1 | 0.46 | 1/216 | 2 |
| 2 | 3.24 | 7/216 | 14 |
| 3 | 8.80 | 19/216 | 38 |
| 4 | 17.1 | 37/216 | 74 |
| 5 | 28.2 | 61/216 | 122 |
| 6 | 42.1 | 91/216 | 182 |