User guide All lessons Cookbook Function reference Open playground

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))

highest · DieRoll · mean 7.229

outcome%fracX/432
10.231/4321
21.627/4327
34.4019/43219
48.5637/43237
514.161/43261
621.191/43291
78.331/1236
88.331/1236
98.331/1236
108.331/1236
118.331/1236
128.331/1236

pool_sum · DieRoll · mean 13.500

outcome%fracX/432
30.231/4321
40.691/1443
51.391/726
62.315/21610
73.475/14415
84.867/14421
96.0213/21626
106.945/7230
117.6411/14433
128.1035/43235
138.331/1236
148.331/1236
158.1035/43235
167.6411/14433
176.945/7230
186.0213/21626
194.867/14421
203.475/14415
212.315/21610
221.391/726
230.691/1443
240.231/4321

same_as_three_d6_highest · DieRoll · mean 4.958

outcome%fracX/432
10.461/2162
23.247/21614
38.8019/21638
417.137/21674
528.261/216122
642.191/216182