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 info of this damage roll.
Returns damage part model to benefit from its auxillary functionality.
Whether this damage roll is for a critical damage instance.
The type of this damage roll.
Static
cleanStatic
getStatic
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
safeSynchronous and thrown error consuming roll evaluation.
Roll formula
Data supplied to roll
If error occurs, this will be included in the error message.
Additional options
If true, no error will be printed
Additional options to pass to Roll.evaluate()
.err
set if an error occurred during evaluation.Generated 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).