Skip to main content

Rollable

A Rollable is a type of stat value. These type of values in the app can be used, for example, for the Roll effect (under Mechanics).

JSON Format

{
"type": "Rollable",
"formulas": ...,
"text": ...
}

Fields

FieldTypeRequiredDescription
formulasList<String>A Rollable contains dice formulas that should be rolled and then added together. Dice roll formulas have strings in the form of "xdy + n" or "xdy - n", where x, y and n are numbers. The app will roll x dices of type dy (e.g: if y is 8, it'll roll x d8), add them up and then add (or subtract) n.
textStringA text to display next to the roll result. This is usually used to add contextual information to the roll. e.g: If rolling for damage, this might be used to keep track of the damage type that was rolled for.