Roll
This effect allows you to trigger the app's dice roller functionality, to roll dice and display the result.
JSON Format
{
"type": "roll",
"rolls": ...,
"on_result_effect": ...
}
Fields
| Field | Type | Required | Description |
|---|---|---|---|
on_result_effect | Effect | Allows you to execute an effect once the result of the roll is ready for you to use. The effect provided will have access to a result variable where the result of the roll will be available for you to use. The result will be an integer representing the sum of all rolls. |