Dice pools (faces still separate)
At the table
Some rules care about each die—the highest die in the pool, how many dice show a 1, whether any die crits—not only the sum. You need several dice rolled together but not added until you choose to.
Try it
Copy the script into the playground editor and click Run.
The script
↗output("pool_sum", dice_pool(3, 6).sum())
output("notation_sum", 3d6)
output("highest_die", dice_pool(4, 6).order_stat(1))
dice_pool(3, 6)is three fair d6 kept separate until you call.sum().3d6notation sums automatically—the distribution ofpool_sumandnotation_summatches.order_stat(1)is the highest die in the pool (k = 2would be second-highest). Games like Blades in the Dark start from this idea.
Reading the result
pool_sum and notation_sum have the same mean (10.5). highest_die is a single-die-style table: how often the best of four d6 shows each face.
Try this
- Compare
dice_pool(2, 6).sum()to2d6from lesson 2. - Try
order_stat(2)ondice_pool(3, 6)for “second highest of three.”
More pool recipes: cookbook index. Conventions: API conventions.
pool_sum · DieRoll · mean 10.500
| outcome | % | frac | X/216 |
|---|---|---|---|
| 3 | 0.46 | 1/216 | 1 |
| 4 | 1.39 | 1/72 | 3 |
| 5 | 2.78 | 1/36 | 6 |
| 6 | 4.63 | 5/108 | 10 |
| 7 | 6.94 | 5/72 | 15 |
| 8 | 9.72 | 7/72 | 21 |
| 9 | 11.6 | 25/216 | 25 |
| 10 | 12.5 | 1/8 | 27 |
| 11 | 12.5 | 1/8 | 27 |
| 12 | 11.6 | 25/216 | 25 |
| 13 | 9.72 | 7/72 | 21 |
| 14 | 6.94 | 5/72 | 15 |
| 15 | 4.63 | 5/108 | 10 |
| 16 | 2.78 | 1/36 | 6 |
| 17 | 1.39 | 1/72 | 3 |
| 18 | 0.46 | 1/216 | 1 |
notation_sum · DieRoll · mean 10.500
| outcome | % | frac | X/216 |
|---|---|---|---|
| 3 | 0.46 | 1/216 | 1 |
| 4 | 1.39 | 1/72 | 3 |
| 5 | 2.78 | 1/36 | 6 |
| 6 | 4.63 | 5/108 | 10 |
| 7 | 6.94 | 5/72 | 15 |
| 8 | 9.72 | 7/72 | 21 |
| 9 | 11.6 | 25/216 | 25 |
| 10 | 12.5 | 1/8 | 27 |
| 11 | 12.5 | 1/8 | 27 |
| 12 | 11.6 | 25/216 | 25 |
| 13 | 9.72 | 7/72 | 21 |
| 14 | 6.94 | 5/72 | 15 |
| 15 | 4.63 | 5/108 | 10 |
| 16 | 2.78 | 1/36 | 6 |
| 17 | 1.39 | 1/72 | 3 |
| 18 | 0.46 | 1/216 | 1 |
highest_die · DieRoll · mean 5.245
| outcome | % | frac | X/216 |
|---|---|---|---|
| 1 | 0.08 | 1/1295 | 0 |
| 2 | 1.16 | 5/432 | 3 |
| 3 | 5.02 | 49/977 | 11 |
| 4 | 13.5 | 106/785 | 29 |
| 5 | 28.5 | 41/144 | 62 |
| 6 | 51.8 | 423/817 | 112 |