RPG systems
Vampire V5
Normal and Hunger dice pools, successes, and outcomes.
Notation and inputs
v5(pool,hunger,difficulty?) rolls a d10 pool. pool is an integer ≥1, hunger an integer from 0 through 5, and optional difficulty an integer ≥0. Hunger dice count is min(pool,hunger); the rest are normal dice. In code, call rollVampireV5({ pool, hunger, difficulty }, options).
import { rollVampireV5 } from '@erpg/dicecore/systems/vampire-v5'
const roll = rollVampireV5({ pool: 7, hunger: 3, difficulty: 4 }, { seed: 'session-12' })
console.log(roll.successes, roll.criticalPairs, roll.outcome)Faces
Each 6–10 counts as one success. Each pair of 10s adds two successes; criticalPairs is the number of pairs. With a difficulty, a successful roll with a pair of 10s and at least one Hunger 10 becomes messy-critical; without a Hunger 10, critical-success. A failure with at least one Hunger 1 becomes bestial-failure. Other outcomes are success and failure. Without a difficulty, the outcome is pending even if critical faces appear.
Each die carries a normal or Hunger profileId, faceKey, and symbols for rendering. baseRoll may be full or compact; the semantic result remains available.
Try the examples
Pool, Hunger, and difficulty
Hunger replaces dice in the total pool. V5 mode keeps normal and Hunger dice distinct, counts successes, and recognizes criticals, messy criticals, and bestial failures.
Accepted shortcuts and variations
Call names are interchangeable. Named parameters accept Hunger and difficulty in English or Portuguese; the positional order is pool, Hunger, and optional difficulty.
- Call aliases
v5(...)vampiro(...)vampire(...)vampire-v5(...)- Named parameters
v5(pool=7,hunger=3,difficulty=4)vampiro(pool=7,fome=3,dificuldade=4)- Positional form
v5(7,3,4)v5(7,3)
- 1.Build the total pool and enter Hunger. Hunger replaces dice in the pool; it is never added on top.
- 2.Each result from 6 to 10 is one success. Each pair of 10s adds two more successes.
- 3.When the roll reaches difficulty, a pair of 10s is a critical success; if one of those 10s is a Hunger die, it is messy.
- 4.On a failed test, a 1 on a Hunger die causes bestial failure. Without difficulty, the mode only counts successes.