2023-08-10 01:02:53 +00:00
|
|
|
# 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
|
2023-08-11 20:08:48 +00:00
|
|
|
```
|
2023-08-10 01:02:53 +00:00
|
|
|
|
2023-08-11 20:08:48 +00:00
|
|
|
## todo
|
2023-08-10 01:02:53 +00:00
|
|
|
|
2023-08-13 16:59:32 +00:00
|
|
|
- [x] roll with (dis)advantage
|
2023-08-11 20:08:48 +00:00
|
|
|
- [ ] interactive rolling mode
|
2023-08-13 16:59:32 +00:00
|
|
|
- [x] print criticals
|
|
|
|
- [ ] use property testing
|