Optional
data: EmptyObjectThe data object against which to parse attributes within the formula
(default: {}
)
Optional
options: Options(default: {}
)
Static
CHAT_The HTML template path used to render a complete Roll object to the chat log
Render the tooltip HTML for a RollPF instance
The rendered HTML tooltip as a string
Synced with Foundry v12.331
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: { suppressError?: boolean } = {}Additional options
Optional
suppressError?: booleanIf true, no error will be printed even if one occurs.
Optional
evalOpts: object = {}Additional options to pass to Roll.evaluate()
Static
safeSynchronous and thrown error consuming roll evaluation.
Roll formula
Optional
rollData: object = {}Data supplied to roll
Optional
context: anyIf error occurs, this will be included in the error message.
Optional
options: { suppressError?: boolean } = {}Additional options
Optional
suppressError?: booleanIf true, no error will be printed
Optional
evalOpts: object = {}Additional options to pass to Roll.evaluate()
The string formula to parse