Skip to main content

RPG systems

Daggerheart dice rolls

Hope and Fear Duality Dice, criticals, and difficulty.

Notation and inputs

daggerheart() rolls exactly two d12 dice: Hope and Fear. Optional integer modifier (default 0) adds to the total. Optional difficulty is an integer ≥0; omit it when secret. Short forms: dh() and dagger(2,15). The second positional argument is always difficulty.

import { rollDaggerheart } from '@erpg/dicecore/systems/daggerheart'
const roll = rollDaggerheart({ modifier: 2, difficulty: 15 }, { seed: 'duality-42' })
console.log(roll.hopeDie.rawValue, roll.fearDie.rawValue, roll.total, roll.outcome)

Duality and outcome

dualityTotal sums both faces; total adds the modifier. Equal faces set duality to critical and outcome to critical-success, with succeeds: true even without a difficulty. Otherwise, the higher face determines hope or fear. With difficulty, total >= difficulty determines success; without it, succeeds is null.

Conditionoutcome
Equal facescritical-success
No difficulty, Hope higherpending-with-hope
No difficulty, Fear higherpending-with-fear
Success with Hope/Fearsuccess-with-hope / success-with-fear
Failure with Hope/Fearfailure-with-hope / failure-with-fear

Dice have daggerheart-hope-d12 and daggerheart-fear-d12 profiles, with faceKey and symbols for rendering.

Try the examples

Duality Dice

Daggerheart

An Action Roll uses two distinct d12s: Hope and Fear. Add both values to the modifier. Matching dice are a Critical Success; otherwise, the higher die determines whether the action was rolled with Hope or Fear.

In the 3D roll, Hope uses your skin color and Fear uses that color's RGB inverse.

System call

Accepted shortcuts and variations

Use daggerheart, dagger, or dh. The modifier is optional, and Difficulty can be omitted when it is secret.

Call aliases
daggerheart(...)dagger(...)dh(...)
Named parameters
daggerheart(modifier=2,difficulty=15)dh(mod=2,dc=15)
Positional form
dh(2,15)dagger(-1)daggerheart()
Set Difficulty
  1. 1.Roll one Hope d12 and one Fear d12.
  2. 2.Add both results and apply the modifier.
  3. 3.If the values match, the action is a Critical Success.
  4. 4.Otherwise, the higher die determines Hope or Fear; with a Difficulty, the total determines success or failure.