Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDiceExpression ¶
ParseDiceExpression takes a string diceExpression, and parses 3 strings from it! The number of dice being rolled {X}, the value of the dice being rolled {Y}, and the modifier being applied to the roll {Z}. An input dice roll should look like one of the following: - XdY: roll X dice of Y value. - XdY+Z: roll X dice of Y value adding Z. - XdY-Z: roll X dice of Y value subtracting Z.
func SumRollDice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.