dice-roller/dice-roller.1

45 lines
1 KiB
Groff
Raw Normal View History

2022-07-28 16:18:38 +02:00
.TH DICE-ROLLER 1
.SH NAME
dice-roller \- Dice roller utility written in GO
.SH SYNOPSIS
2022-07-29 12:41:02 +02:00
.B dice-roller
.OP -a
.OP -s
2022-08-23 17:27:08 +02:00
.OP -t
2022-07-29 12:41:02 +02:00
.OP -m
2022-07-28 16:18:38 +02:00
.PP
2022-07-29 12:41:02 +02:00
.B dice-roller
.OP --advantage
2022-07-28 16:18:38 +02:00
.PP
2022-07-29 12:41:02 +02:00
.B dice-roller
.OP --disadvantage
.PP
.B dice-roller
.OP --coin
2022-07-28 16:18:38 +02:00
.SH DESCRIPTION
2022-07-29 12:41:02 +02:00
.B dice-roller
is a little dice roller I wrote because I'm hopelessly bad at basic arithmetic equations.
Written with D&D 5e in mind, can undoubtedly be used for other purposes as well.
2022-07-28 16:18:38 +02:00
.SH OPTIONS
.TP
2022-07-29 12:41:02 +02:00
.B -a --attacks
Roll a set rules multiple times, does not apply to advantage and disadvantage, defaults to 1.
2022-07-28 16:18:38 +02:00
.TP
2022-07-29 12:41:02 +02:00
.B -s --surfaces
Use to specify die surfaces, does not apply to advantage and disadvantage, defaults to 20.
2022-07-28 16:18:38 +02:00
.TP
2022-08-23 17:27:08 +02:00
.B -t --throws
2022-07-29 12:41:02 +02:00
Specify amount of dice to cast
2022-07-28 16:18:38 +02:00
.TP
2022-07-29 12:41:02 +02:00
.B -m --modifier
Add modifier to result of rolls
2022-07-28 16:18:38 +02:00
.TP
2022-07-29 12:41:02 +02:00
.B --advantage
Roll two 2d20 and take the highest number, accepts modifiers
2022-07-28 16:18:38 +02:00
.TP
2022-07-29 12:41:02 +02:00
.B --disadvantage
Roll two 2d20 and take the lowest number, accepts modifiers
.TP
.B --coin
Toss a coin, same behaviour as throwing with 2 surfaces, only accepts different amount of casts.