32 lines
306 B
Markdown
32 lines
306 B
Markdown
# roll
|
|
|
|
for initiative!
|
|
|
|
## usage
|
|
|
|
```bash
|
|
$ roll 2d20
|
|
1 ..... 15
|
|
2 ..... 9
|
|
total | 24
|
|
|
|
$ roll 5d4+2
|
|
1 ..... 2
|
|
2 ..... 2
|
|
3 ..... 4
|
|
4 ..... 1
|
|
5 ..... 3
|
|
mod .. +2
|
|
total | 14
|
|
|
|
$ roll 1d20
|
|
1 ..... 1
|
|
total | 1
|
|
```
|
|
|
|
## todo
|
|
|
|
- [x] roll with (dis)advantage
|
|
- [x] print criticals
|
|
- [x] use property testing
|