Initial commit

This commit is contained in:
2026-09-22 16:27:53 +02:00
commit 9b29dc8253
70 changed files with 14726 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
import type { Ability, CharacterClass } from '../api/types';
// Mirrors backend/src/game/data/classes.js spellcastingAbility column — used
// only to decide whether the builder's equipment step offers spell picks.
export const CLASS_SPELLCASTING_ABILITY: Record<CharacterClass, Ability | null> = {
FIGHTER: null,
BARBARIAN: null,
ROGUE: null,
RANGER: 'WIS',
WIZARD: 'INT',
SORCERER: 'CHA',
CLERIC: 'WIS',
PALADIN: 'CHA',
BARD: 'CHA',
WARLOCK: 'CHA',
DRUID: 'WIS',
MONK: null,
};