NPC Rolls
Overview¶
Roll for NPCs with optional advantage/disadvantage and modifiers.
Getting started¶
- Select an NPC token
- Trigger an NPC roll via macro or UI control
- Add advantage/disadvantage or modifier as needed
- Send to chat
API¶
await game.daggerheart.rollHandler.rollNPC({
dieSize: 'd20',
modifier: 2,
advantage: 1,
sendToChat: true,
});
Related¶
Features¶
- Simple NPC check with a single die size
- Advantage and disadvantage support
- Sends formatted results to chat
- Consistent with player roll presentation
Typical flow¶
- Select an NPC token
- Trigger an NPC roll with options
- View result and apply consequences
Tips¶
- Use macros to repeat common NPC checks
- Keep die size consistent per NPC type for quick reading
- For stealthy or perception checks, set
messageType
to private