tldr/pages/common/roll.md

29 lines
564 B
Markdown
Raw Normal View History

2017-10-27 16:41:26 +01:00
# roll
> Rolls a user-defined dice sequence.
> More information: <https://manned.org/roll>.
2017-10-27 16:41:26 +01:00
- Roll 3 6-sided dice and sums the results:
2017-10-27 16:41:26 +01:00
2017-10-31 21:47:37 +00:00
`roll {{3d}}`
2017-10-27 16:41:26 +01:00
- Roll 1 8-sided die, add 3 and sum the results:
2017-10-27 16:41:26 +01:00
2017-10-31 21:47:37 +00:00
`roll {{d8 + 3}}`
2017-10-27 16:41:26 +01:00
- Roll 4 6-sided dice, keep the 3 highest results and sum the results:
2017-10-27 16:41:26 +01:00
2017-10-31 21:47:37 +00:00
`roll {{4d6h3}}`
2017-10-27 16:41:26 +01:00
- Roll 2 12-sided dice 2 times and show every roll:
2017-10-27 16:41:26 +01:00
2017-10-31 21:47:37 +00:00
`roll --verbose {{2{2d12}}}`
2017-10-27 16:41:26 +01:00
- Roll 2 20-sided dice until the result is bigger than 10:
2017-10-27 16:41:26 +01:00
2017-10-31 21:47:37 +00:00
`roll "{{2d20>10}}"`
2017-10-27 16:41:26 +01:00
- Roll 2 5-sided dice 3 times and show the total sum:
2017-10-27 16:41:26 +01:00
2017-10-31 21:47:37 +00:00
`roll --sum-series {{3{2d5}}}`