Represents the result of a dice roll in FoundryVTT
Contains all information about a completed dice roll including the formula used, total result, breakdown, and metadata.
DiceRoll
const attackRoll: DiceRoll = { formula: '1d20+5', total: 18, breakdown: '13 + 5', reason: 'Sword attack', timestamp: '2024-01-15T10:30:00Z'}; Copy
const attackRoll: DiceRoll = { formula: '1d20+5', total: 18, breakdown: '13 + 5', reason: 'Sword attack', timestamp: '2024-01-15T10:30:00Z'};
Optional
Represents the result of a dice roll in FoundryVTT
Contains all information about a completed dice roll including the formula used, total result, breakdown, and metadata.
DiceRoll
Example