Initial commit
This commit is contained in:
@@ -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,
|
||||
};
|
||||
Reference in New Issue
Block a user