roll-dice
Roll arbitrary dice for custom checks, random tables or DM-specified rolls; D&D 5e mechanics have their own tools (dnd5e-roll-skill, dnd5e-roll-save, dnd5e-roll-attack, dnd5e-roll-damage, dnd5e-item-use). isCritical / isFumble follow the KEPT d20: plain 1d20, advantage 2d20kh1, disadvantage 2d20kl1 (a 20 on the discarded die does not count). Module v8.5.0+.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formula | Yes | Dice formula: "1d20+5", "2d6", "4d6kh3" (keep highest 3), "2d20kh1" (advantage), "2d20kl1" (disadvantage) |