V1.23.0: every subclass, 43 species, the Artificer, and the road to level 20

- All 123 official subclasses (2014 books and the 2024 Player's Handbook), each
  with its book and features up to level 20; one file per class
- The builder has a subclass step after the class: pick one, let a die suggest
  one, or decide later; its gifts arrive at the class's choice level
- 2024 updates (Wild Heart, Warrior of the Elements) offer a one-click switch
- The Road Ahead: a level 1-20 timeline on every sheet and in the builder
- 33 new species (2024 Aasimar and Goliath, Monsters of the Multiverse) with
  chosen +2/+1 or +1/+1/+1 bonuses; species roll is now a d8 by family
- The Artificer: class, half-caster slots from level 1, features, Flash of Genius
- Class tables and counters run to level 20; a fifth Boon, Resolve

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-11 16:02:51 +02:00
co-authored by Claude Opus 5.5
parent e7b6e0065a
commit 18d9e7301c
56 changed files with 4720 additions and 825 deletions
+3
View File
@@ -16,6 +16,7 @@ export const CLASS_SPELLCASTING_ABILITY: Record<CharacterClass, Ability | null>
WARLOCK: 'CHA',
DRUID: 'WIS',
MONK: null,
ARTIFICER: 'INT',
};
export const CLASS_HIT_DIE: Record<CharacterClass, number> = {
@@ -31,6 +32,7 @@ export const CLASS_HIT_DIE: Record<CharacterClass, number> = {
WARLOCK: 8,
DRUID: 8,
MONK: 8,
ARTIFICER: 8,
};
export const CLASS_SAVE_PROFICIENCIES: Record<CharacterClass, Ability[]> = {
@@ -46,4 +48,5 @@ export const CLASS_SAVE_PROFICIENCIES: Record<CharacterClass, Ability[]> = {
WARLOCK: ['WIS', 'CHA'],
DRUID: ['INT', 'WIS'],
MONK: ['STR', 'DEX'],
ARTIFICER: ['CON', 'INT'],
};
+34
View File
@@ -11,6 +11,39 @@ export const SPECIES_LABELS: Record<string, string> = {
TIEFLING: 'Tiefling',
HALF_ORC: 'Half-Orc',
ORC: 'Orc',
AASIMAR: 'Aasimar',
GOLIATH: 'Goliath',
AARAKOCRA: 'Aarakocra',
BUGBEAR: 'Bugbear',
CENTAUR: 'Centaur',
CHANGELING: 'Changeling',
DEEP_GNOME: 'Deep Gnome',
DUERGAR: 'Duergar',
ELADRIN: 'Eladrin',
FAIRY: 'Fairy',
FIRBOLG: 'Firbolg',
AIR_GENASI: 'Air Genasi',
EARTH_GENASI: 'Earth Genasi',
FIRE_GENASI: 'Fire Genasi',
WATER_GENASI: 'Water Genasi',
GITHYANKI: 'Githyanki',
GITHZERAI: 'Githzerai',
GOBLIN: 'Goblin',
HARENGON: 'Harengon',
HOBGOBLIN: 'Hobgoblin',
KENKU: 'Kenku',
KOBOLD: 'Kobold',
LIZARDFOLK: 'Lizardfolk',
MINOTAUR: 'Minotaur',
SEA_ELF: 'Sea Elf',
SHADAR_KAI: 'Shadar-kai',
SHIFTER: 'Shifter',
TABAXI: 'Tabaxi',
TORTLE: 'Tortle',
TRITON: 'Triton',
YUAN_TI: 'Yuan-ti',
OWLIN: 'Owlin',
SATYR: 'Satyr',
};
export const CLASS_LABELS: Record<string, string> = {
@@ -26,6 +59,7 @@ export const CLASS_LABELS: Record<string, string> = {
WARLOCK: 'Warlock',
DRUID: 'Druid',
MONK: 'Monk',
ARTIFICER: 'Artificer',
};
export const SKILL_LABELS: Record<string, string> = {
+173 -1
View File
@@ -16,6 +16,39 @@ export const SPECIES_SPEED: Record<Species, number> = {
TIEFLING: 30,
HALF_ORC: 30,
ORC: 30,
AASIMAR: 30,
GOLIATH: 35,
AARAKOCRA: 30,
BUGBEAR: 30,
CENTAUR: 40,
CHANGELING: 30,
DEEP_GNOME: 30,
DUERGAR: 30,
ELADRIN: 30,
FAIRY: 30,
FIRBOLG: 30,
AIR_GENASI: 35,
EARTH_GENASI: 30,
FIRE_GENASI: 30,
WATER_GENASI: 30,
GITHYANKI: 30,
GITHZERAI: 30,
GOBLIN: 30,
HARENGON: 30,
HOBGOBLIN: 30,
KENKU: 30,
KOBOLD: 30,
LIZARDFOLK: 30,
MINOTAUR: 30,
SEA_ELF: 30,
SHADAR_KAI: 30,
SHIFTER: 30,
TABAXI: 30,
TORTLE: 30,
TRITON: 30,
YUAN_TI: 30,
OWLIN: 30,
SATYR: 35,
};
export const SPECIES_GUIDE: Record<Species, { blurb: string; goodFor: string }> = {
@@ -59,6 +92,138 @@ export const SPECIES_GUIDE: Record<Species, { blurb: string; goodFor: string }>
blurb: 'Powerful and relentless, raised to survive.',
goodFor: 'Strong (+2 Strength) and hardy (+1 Constitution): built for the front line.',
},
AASIMAR: {
blurb: 'Touched by the heavens, carrying a spark of celestial light.',
goodFor: 'You choose your bonuses (+2/+1 or +1/+1/+1). Healing hands and a radiant transformation suit Paladins, Clerics and Warlocks.',
},
GOLIATH: {
blurb: 'Towering mountain folk descended from giants, who measure themselves against every peak.',
goodFor: 'You choose your bonuses (+2/+1 or +1/+1/+1), and you are quick on your feet (35 ft). A great front-liner.',
},
AARAKOCRA: {
blurb: 'Bird folk of the high winds, at home in open sky.',
goodFor: 'You choose your bonuses, and you can fly from level 1. Superb for archers and casters who like to stay out of reach.',
},
BUGBEAR: {
blurb: 'Hulking, stealthy goblinoids who strike from the shadows.',
goodFor: 'You choose your bonuses. Long reach and a big opening strike suit Rogues, Rangers and Fighters.',
},
CENTAUR: {
blurb: 'Fey wanderers, half humanoid and half horse, swift across open country.',
goodFor: 'You choose your bonuses, and you are the fastest species (40 ft). Built for charging warriors and scouts.',
},
CHANGELING: {
blurb: 'Shapeshifters who can wear any face, and sometimes forget their own.',
goodFor: 'You choose your bonuses. Perfect for spies, tricksters and Charisma casters.',
},
DEEP_GNOME: {
blurb: 'Quiet gnomes of the deep caverns, hard to find and harder to enchant.',
goodFor: 'You choose your bonuses. Sneaky and resistant to magic: a fine Rogue, Ranger or Wizard.',
},
DUERGAR: {
blurb: 'Grim dwarves of the Underdark, hardened by long servitude.',
goodFor: 'You choose your bonuses. Tough, hard to control, and able to grow huge: built for melee.',
},
ELADRIN: {
blurb: 'Elves of the Feywild whose moods shift like the seasons.',
goodFor: 'You choose your bonuses. Teleporting at will makes for a slippery caster or duelist.',
},
FAIRY: {
blurb: 'Tiny fey with wings, mischief and a sparkle of magic.',
goodFor: 'You choose your bonuses and fly from level 1. A natural for Druids, Bards and Sorcerers.',
},
FIRBOLG: {
blurb: 'Gentle forest giants-kin who guard the wild places.',
goodFor: 'You choose your bonuses. Quiet magic and a knack for vanishing suit Druids and Clerics.',
},
AIR_GENASI: {
blurb: 'Born of the elemental air: restless, quick and light.',
goodFor: 'You choose your bonuses, and you move fast (35 ft). Good for Monks, Rogues and casters.',
},
EARTH_GENASI: {
blurb: 'Born of the elemental earth: steady, solid and patient.',
goodFor: 'You choose your bonuses. Sturdy and stealthy: front-liners and Rangers.',
},
FIRE_GENASI: {
blurb: 'Born of the elemental fire: passionate and quick to anger.',
goodFor: 'You choose your bonuses. Built-in fire magic suits Sorcerers, Warlocks and Wizards.',
},
WATER_GENASI: {
blurb: 'Born of the elemental water: calm one moment, crashing the next.',
goodFor: 'You choose your bonuses, and you breathe and swim underwater. Great for sea campaigns.',
},
GITHYANKI: {
blurb: 'Warrior raiders from the Astral Sea, with silver swords and iron will.',
goodFor: 'You choose your bonuses. Flexible skills and a free teleport suit Fighters, Paladins and Eldritch Knights.',
},
GITHZERAI: {
blurb: 'Ascetic monks of Limbo who bend chaos with pure thought.',
goodFor: 'You choose your bonuses. Calm minds and a free Shield suit Monks and Wizards.',
},
GOBLIN: {
blurb: 'Small, scrappy and fearless survivors.',
goodFor: 'You choose your bonuses. Hide and slip away every turn: a natural Rogue.',
},
HARENGON: {
blurb: 'Rabbit folk of the Feywild, quick of foot and quicker to act.',
goodFor: 'You choose your bonuses. Always first in initiative: great for any class.',
},
HOBGOBLIN: {
blurb: 'Disciplined goblinoids who prize order and teamwork.',
goodFor: 'You choose your bonuses. Built to fight shoulder to shoulder: Fighters and Paladins.',
},
KENKU: {
blurb: 'Wingless raven folk with perfect memories and borrowed voices.',
goodFor: 'You choose your bonuses. Skilled and observant: Rogues and Rangers.',
},
KOBOLD: {
blurb: 'Small, clever dragon-kin who win by working together.',
goodFor: 'You choose your bonuses. Your rallying cry makes the whole party hit more often.',
},
LIZARDFOLK: {
blurb: 'Cold-blooded, practical hunters of the swamps.',
goodFor: 'You choose your bonuses. Natural armor and a healing bite make you hard to kill.',
},
MINOTAUR: {
blurb: 'Horned, powerful and never lost in a maze.',
goodFor: 'You choose your bonuses. Charging and shoving: a natural Barbarian or Fighter.',
},
SEA_ELF: {
blurb: 'Elves of the deep ocean, as at home among the waves as on land.',
goodFor: 'You choose your bonuses. A must for ocean adventures.',
},
SHADAR_KAI: {
blurb: 'Elves bound to the Shadowfell and its somber queen.',
goodFor: 'You choose your bonuses. Teleporting and shrugging off damage suits any melee class.',
},
SHIFTER: {
blurb: 'Descendants of lycanthropes, with a beast just under the skin.',
goodFor: 'You choose your bonuses. Bursts of toughness and speed suit melee classes.',
},
TABAXI: {
blurb: 'Curious cat folk who chase stories and shiny things.',
goodFor: 'You choose your bonuses. Bursts of speed and sharp senses: Rogues, Monks and Rangers.',
},
TORTLE: {
blurb: 'Turtle folk who carry their homes on their backs.',
goodFor: 'You choose your bonuses. AC 17 from level 1, whatever your Dexterity: superb for casters and Monks… and anyone.',
},
TRITON: {
blurb: 'Proud guardians of the ocean depths.',
goodFor: 'You choose your bonuses. Water magic and swimming for sea campaigns.',
},
YUAN_TI: {
blurb: 'Serpent-blooded schemers with cold eyes and colder plans.',
goodFor: 'You choose your bonuses. Advantage on every save against spells is hard to beat.',
},
OWLIN: {
blurb: 'Owl folk, silent on the wing and sharp-eyed in the dark.',
goodFor: 'You choose your bonuses. Flight and stealth from level 1: scouts and Wizards.',
},
SATYR: {
blurb: 'Merry fey of song and wine, quick-footed and hard to enchant.',
goodFor: 'You choose your bonuses, move quickly (35 ft) and resist magic. A natural Bard.',
},
};
export type Toughness = 'Fragile' | 'Average' | 'Sturdy' | 'Very tough';
@@ -151,6 +316,13 @@ export const CLASS_GUIDE: Record<
skillCount: 2,
difficulty: 'Medium',
},
ARTIFICER: {
blurb: 'An inventor who makes magic with tools, gadgets and infused gear.',
playsLike: 'Support and versatility: buff the party’s gear, cast handy spells, and build a cannon, armor or a steel companion.',
keyAbilities: ['INT', 'CON'],
skillCount: 2,
difficulty: 'Tricky',
},
};
export function hitDieToughness(hitDie: number): Toughness {
@@ -226,4 +398,4 @@ export const STEP_GUIDE = {
EQUIPMENT: 'What you set out with. Your DM decides what is on offer here, and can hand out more as you play.',
} as const;
export const STEP_NAMES = ['Species', 'Class', 'Motivation', 'Scores', 'Skills', 'Abilities', 'Background', 'Appearance', 'Equipment'] as const;
export const STEP_NAMES = ['Species', 'Class', 'Subclass', 'Motivation', 'Scores', 'Skills', 'Abilities', 'Background', 'Appearance', 'Equipment'] as const;
+93 -4
View File
@@ -14,13 +14,102 @@ export const SPECIES_ABILITY_BONUSES: Record<Species, Partial<Record<Ability, nu
TIEFLING: { INT: 1, CHA: 2 },
HALF_ORC: { STR: 2, CON: 1 },
ORC: { STR: 2, CON: 1 },
AASIMAR: {},
GOLIATH: {},
AARAKOCRA: {},
BUGBEAR: {},
CENTAUR: {},
CHANGELING: {},
DEEP_GNOME: {},
DUERGAR: {},
ELADRIN: {},
FAIRY: {},
FIRBOLG: {},
AIR_GENASI: {},
EARTH_GENASI: {},
FIRE_GENASI: {},
WATER_GENASI: {},
GITHYANKI: {},
GITHZERAI: {},
GOBLIN: {},
HARENGON: {},
HOBGOBLIN: {},
KENKU: {},
KOBOLD: {},
LIZARDFOLK: {},
MINOTAUR: {},
SEA_ELF: {},
SHADAR_KAI: {},
SHIFTER: {},
TABAXI: {},
TORTLE: {},
TRITON: {},
YUAN_TI: {},
OWLIN: {},
SATYR: {},
};
export function speciesBonusFor(species: Species | null, ability: Ability, halfElfBonusAbilities: Ability[] = []): number {
// The bonuses a player chooses on top of the fixed ones: one of `patterns`
// (+2 and +1, or +1 three times...), each to a different ability, never one
// in `exclude`.
export interface FlexibleBonus {
patterns: number[][];
exclude?: Ability[];
}
export const SPECIES_FLEXIBLE_BONUS: Partial<Record<Species, FlexibleBonus>> = {
HALF_ELF: { patterns: [[1, 1]], exclude: ['CHA'] },
AASIMAR: { patterns: [[2, 1], [1, 1, 1]] },
GOLIATH: { patterns: [[2, 1], [1, 1, 1]] },
AARAKOCRA: { patterns: [[2, 1], [1, 1, 1]] },
BUGBEAR: { patterns: [[2, 1], [1, 1, 1]] },
CENTAUR: { patterns: [[2, 1], [1, 1, 1]] },
CHANGELING: { patterns: [[2, 1], [1, 1, 1]] },
DEEP_GNOME: { patterns: [[2, 1], [1, 1, 1]] },
DUERGAR: { patterns: [[2, 1], [1, 1, 1]] },
ELADRIN: { patterns: [[2, 1], [1, 1, 1]] },
FAIRY: { patterns: [[2, 1], [1, 1, 1]] },
FIRBOLG: { patterns: [[2, 1], [1, 1, 1]] },
AIR_GENASI: { patterns: [[2, 1], [1, 1, 1]] },
EARTH_GENASI: { patterns: [[2, 1], [1, 1, 1]] },
FIRE_GENASI: { patterns: [[2, 1], [1, 1, 1]] },
WATER_GENASI: { patterns: [[2, 1], [1, 1, 1]] },
GITHYANKI: { patterns: [[2, 1], [1, 1, 1]] },
GITHZERAI: { patterns: [[2, 1], [1, 1, 1]] },
GOBLIN: { patterns: [[2, 1], [1, 1, 1]] },
HARENGON: { patterns: [[2, 1], [1, 1, 1]] },
HOBGOBLIN: { patterns: [[2, 1], [1, 1, 1]] },
KENKU: { patterns: [[2, 1], [1, 1, 1]] },
KOBOLD: { patterns: [[2, 1], [1, 1, 1]] },
LIZARDFOLK: { patterns: [[2, 1], [1, 1, 1]] },
MINOTAUR: { patterns: [[2, 1], [1, 1, 1]] },
SEA_ELF: { patterns: [[2, 1], [1, 1, 1]] },
SHADAR_KAI: { patterns: [[2, 1], [1, 1, 1]] },
SHIFTER: { patterns: [[2, 1], [1, 1, 1]] },
TABAXI: { patterns: [[2, 1], [1, 1, 1]] },
TORTLE: { patterns: [[2, 1], [1, 1, 1]] },
TRITON: { patterns: [[2, 1], [1, 1, 1]] },
YUAN_TI: { patterns: [[2, 1], [1, 1, 1]] },
OWLIN: { patterns: [[2, 1], [1, 1, 1]] },
SATYR: { patterns: [[2, 1], [1, 1, 1]] },
};
// A character's chosen bonuses, as { ability: amount }.
export type BonusChoices = Partial<Record<Ability, number>>;
export function speciesBonusFor(species: Species | null, ability: Ability, choices: BonusChoices = {}): number {
if (!species) return 0;
let bonus = SPECIES_ABILITY_BONUSES[species][ability] || 0;
if (species === 'HALF_ELF' && halfElfBonusAbilities.includes(ability)) bonus += 1;
return bonus;
return (SPECIES_ABILITY_BONUSES[species][ability] || 0) + (SPECIES_FLEXIBLE_BONUS[species] ? choices[ability] || 0 : 0);
}
// Whether a set of choices is complete and allowed for the species (mirrors
// speciesBonusProblem on the server).
export function bonusChoicesValid(species: Species | null, choices: BonusChoices): boolean {
const flexible = species ? SPECIES_FLEXIBLE_BONUS[species] : undefined;
const entries = Object.entries(choices).filter(([, amount]) => amount);
if (!flexible) return entries.length === 0;
if (entries.some(([ability]) => flexible.exclude?.includes(ability as Ability))) return false;
const amounts = entries.map(([, amount]) => amount as number).sort((a, b) => b - a).join(',');
return flexible.patterns.some((pattern) => [...pattern].sort((a, b) => b - a).join(',') === amounts);
}
export function abilityModifier(score: number): number {
+33
View File
@@ -12,6 +12,39 @@ export const SPECIES_ICONS: Record<Species, string> = {
TIEFLING: '😈',
HALF_ORC: '🪓',
ORC: '👹',
AASIMAR: '😇',
GOLIATH: '🏔️',
AARAKOCRA: '🦅',
BUGBEAR: '🐻',
CENTAUR: '🐎',
CHANGELING: '🎭',
DEEP_GNOME: '💎',
DUERGAR: '⚒️',
ELADRIN: '🍂',
FAIRY: '🧚',
FIRBOLG: '🌲',
AIR_GENASI: '🌬️',
EARTH_GENASI: '🪨',
FIRE_GENASI: '🔥',
WATER_GENASI: '🌊',
GITHYANKI: '⚔️',
GITHZERAI: '🧘',
GOBLIN: '👺',
HARENGON: '🐇',
HOBGOBLIN: '🛡️',
KENKU: '🐦‍⬛',
KOBOLD: '🦎',
LIZARDFOLK: '🐊',
MINOTAUR: '🐂',
SEA_ELF: '🐚',
SHADAR_KAI: '🌑',
SHIFTER: '🐺',
TABAXI: '🐆',
TORTLE: '🐢',
TRITON: '🔱',
YUAN_TI: '🐍',
OWLIN: '🦉',
SATYR: '🐐',
};
export function speciesIcon(species: Species | null): string {