The mod expression to create the DiceMod from.
The normalized string value for compounding.
The plaintext string value for compounding.
The raw properties for compounding, or null if this modifier does not have a compounding clause.
The normalized string value for exploding.
The plaintext string value for exploding.
The raw properties for exploding, or null if this modifier does not have an exploding clause.
The normalized string value for keepDrop.
The plaintext string value for keepDrop.
The raw properties for keepDrop, or null if this modifier does not have a keepDrop clause.
The normalized string value for penetrating.
The plaintext string value for penetrating.
The raw properties for penetrating, or null if this modifier does not have a penetrating clause.
The normalized string value for reroll.
The plaintext string value for reroll.
The raw properties for reroll, or null if this modifier does not have a reroll clause.
The normalized string value for sort.
The plaintext string value for sort.
The raw properties for sort, or null if this modifier does not have a sort clause.
The normalized string value for successes.
The plaintext string value for successes.
The raw properties of successes, or null if this modifier does not have a successes clause.
The RegExp used for parsing exploding, compounding, and penetrating.
The RegExp used for parsing keep/drop.
The maximum allowed value of n for a dice mod, which is equal to the largest representable integer in JavaScript (9007199254740991, or Number.MAX_SAFE_INTEGER in ES6).
The RegExp used for parsing rerolls.
The RegExp used for parsing sorting.
The RegExp used for parsing successes and failures.
A dice has been rolled and there are no more rolls to make. Modify the final result in place if necessary, and return the combined result of the rolls.
The result array to modify.
The combined total of the roll.
Apply modifiers to a dice that was just rolled and add it to the result in place if necessary.
The value that was just rolled.
The result object.
The dice that was used to roll the value.
The combined value of the modifier as a string.
The combined plaintext value of the modifier.
The compare point to use.
The numeric value of the compare point.
The number to compare against the compare point.
True if value "matches" the compare point.
The compare point to translate.
The english plaintext representation of the compare point.
Compare function used to sort numbers ascending.
Compare function used to sort numbers descending.
Generated using TypeDoc
{Error} Thrown when any part of modExpr cannot be parsed.