sheet-parser/sheet-parser.1

49 lines
1.2 KiB
Groff
Raw Normal View History

2022-08-21 01:12:22 +02:00
.TH SHEET-PARSER 1
.SH NAME
sheet-parser \- D&D sheet parser utility written in go
.SH SYNOPSIS
.B dice-roller
.OP -a
.OP -s
.OP -c
.OP -m
.PP
.B dice-roller
.OP --advantage
.PP
.B dice-roller
.OP --disadvantage
.PP
.B dice-roller
.OP --coin
.SH DESCRIPTION
.B sheet-parser
is a little utility written with the purpose of being able to parse 5e D&D sheets.
Digging through all the different stats and skills and keeping track of their modifiers got a rather tiresome after a while.
This thing makes use of some of the functionality of
.B dice-roller,
mainly the way it deals with advantage and disadvantage.
.SH OPTIONS
.TP
.B -a --attacks
Roll a set rules multiple times, does not apply to advantage and disadvantage, defaults to 1.
.TP
.B -s --surfaces
Use to specify die surfaces, does not apply to advantage and disadvantage, defaults to 20.
.TP
.B -c --throws
Specify amount of dice to cast
.TP
.B -m --modifier
Add modifier to result of rolls
.TP
.B --advantage
Roll two 2d20 and take the highest number, accepts modifiers
.TP
.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.