Optional
bonusOptional
chatWhether a chat message should be created.
true
Optional
chatAdditional data passed to the chat message's content's renderTemplate.
Optional
compendiumData used to create a link to a compendium entry in the chat message.
Optional
diceThe roll's d20 die (replacement), or the static result the d20 should have.
"1d20"
Optional
flavorThe flavor of the roll
Optional
messageAdditional data to add to the chat message.
Optional
noWhether no dice sound should be played when the chat message is created.
false
Optional
partsAn array of strings from which the roll's formula is created.
[]
Optional
rollData object the roll is evaluated against.
{}
Optional
rollThe rollMode with which the chat message is created.
game.settings.get("core", "rollMode")
Optional
skipWhether a user facing dialog should be shown.
true
Optional
speakerThe speaker of the chat message.
Optional
staticA number used as a static roll result of the d20. If null, the d20 is rolled normally and the result is used.
null
Optional
subjectData stored in the chat message's flags to allow for easier identification of the message's subject.
Generated using TypeDoc
An additional bonus to be added to the roll.