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
+26
View File
@@ -0,0 +1,26 @@
// Rules the app knows, for any signed-in user: nothing here belongs to a
// campaign or a character.
const express = require('express');
const { z } = require('zod');
const { requireAuth } = require('../middleware/auth');
const { CLASSES } = require('../game/data/classes');
const { findSubclass } = require('../game/data/subclasses');
const { progression } = require('../game/levelUp');
const router = express.Router();
router.use(requireAuth);
// GET /reference/progression?class=FIGHTER&subclass=CHAMPION — what each
// level from 1 to 20 gives a class, with the subclass's lines when one is
// named. Shown as the progression timeline in the builder, on the sheet and
// when levelling up.
router.get('/progression', (req, res) => {
const parsed = z.object({ class: z.enum(Object.keys(CLASSES)), subclass: z.string().optional() }).safeParse(req.query);
if (!parsed.success) return res.status(400).json({ error: parsed.error.flatten() });
const { class: characterClass, subclass } = parsed.data;
if (subclass && !findSubclass(characterClass, subclass)) return res.status(400).json({ error: 'That is not a subclass of this class.' });
res.json({ characterClass, subclass: subclass || null, levels: progression(characterClass, subclass) });
});
module.exports = router;