Dices
There are two types of dice:
- The dice used with
dbroll(the type dice). - The dice saved for
macro(the saved dice).
Both types follow the dice-roller syntax and also support various notation and expression.
When targeting a stat, the method differs depending on the dice type:
- For type dice, use the
$keyword. This symbol will be replaced by the stat value used in/dbroll. - For macro, simply use the names of the stats.
Example
- For a type dice:
1d6>$or1d6+$ - For a macro:
1d6 > Strengthor1d6 + Strength
For dice based on a formula:
- For a type dice:
1d6 + {{ceil($ / 2)}} - For a macro:
1d6 + {{ceil(Strength / 2)}}
You can also compare using a formula:
- For a type dice:
1d6 > {{ceil($ / 2)}} - For a macro:
1d6 > {{ceil(Strength / 2)}}
The presence of the $ sign makes the statistic mandatory. Otherwise, the die can be rolled without a sheet.
Macro
You can customize a macro (saved die) using different syntaxes:
- Custom Critics: If you use custom critical with
$, the dice name must include the statistic in parentheses, likeAnimal Instinct (Strength). See the Custom Critics Hits section for more details. - Statistic Name: Allows referencing a statistic directly in the dice.
Example
| Type | Dice Name | Replaced Value | Syntax | Example |
|---|---|---|---|---|
| Specific Statistic | Strength | Strength=20 | 1d6 > Strength | 1d6 > 20 |
| Custom Critical Hit | Animal Instinct (Strength) | Strength=20>$ | 1d6 | 1d6>20 |