Count high faces in a pool
At the table
Some rules care how many dice in a pool met a target (not just whether any did). Example: count how many of 3d6 show 5 or 6.
Try it
Copy the script into the playground editor and run it. Output is a distribution over 0, 1, 2, or 3 successes.
The script
↗output("success_count", 3d6.count(5..))
success_count · DieRoll · mean 1.000
| outcome | % | frac | X/27 |
|---|---|---|---|
| 0 | 29.6 | 8/27 | 8 |
| 1 | 44.4 | 4/9 | 12 |
| 2 | 22.2 | 2/9 | 6 |
| 3 | 3.70 | 1/27 | 1 |