Interactive playground - adjust the controls to see live updates
dice - Dice notation (default: 'd20')modifiers - Array of ModifierSource objectstarget - Target number/DC to beatcomparison - 'meet-or-beat' | 'beat' | 'under' | 'under-or-equal'advantage - Roll with advantage (2d20, take higher)disadvantage - Roll with disadvantage (2d20, take lower)autoRoll - Automatically roll on mountshowBreakdown - Display detailed breakdownshowRollDetails - Show individual die rollsshowHistory - Show roll historyhistoryLimit - Maximum history items (default: 10)rollButtonText - Button text (default: 'Roll')compact - Compact display modedisabled - Disable rollingsystemConfig - Game system configuration
@roll - Emitted on every roll with ActionResult@success - Emitted on successful roll@failure - Emitted on failed roll@critical - Emitted on critical success@fumble - Emitted on critical failure