The formula to parse.
The data object against which to parse attributes within the formula.
Additional options which customize the created Roll instance.
Static
TYPESTypes of damage rolls with regard to their critical status.
The damage type of this damage roll.
Return an Array of the individual DiceTerm instances contained within this Roll. Override to recognize dice in SizeRollTerm.
Whether this damage roll is for a critical damage instance.
The type of this damage roll.
Static
_lenientStatic
cleanStatic
parseStatic
safeSynchronous and thrown error consuming roll evaluation.
Roll formula
Data supplied to roll
If error occurs, this will be included in the error message.
Optional
options: { Additional options
If true, no error will be printed even if one occurs.
Optional
evalOpts: object = {}Additional options to pass to Roll.evaluate()
.err
set if an error occurred during evaluation.Static
safeStatic
simplifyGenerated using TypeDoc
A specialized Roll class which is used to evaluate damage rolls. Provides additional utility getters for data relevant to damage rolls (e.g. damage type).