chore(release): 0.1.0
[risinglegends.git] / src / shared / profession.ts
1 import { Stat } from './stats';
2
3 export type Profession = 'Wanderer' | 'Warrior' | 'Mage' | 'Rogue';
4
5 export type ProfessionDefinition = {
6   id: Profession;
7   name: string;
8   classStats: Stat[]
9 }
10
11 export const professionList: Record<Profession, ProfessionDefinition> = {
12   'Wanderer': {
13     id: 'Wanderer',
14     name: 'Wanderer',
15     classStats: [Stat.strength, Stat.constitution, Stat.dexterity, Stat.intelligence]
16   },
17   'Warrior': {
18     id: 'Warrior',
19     name: 'Warrior',
20     classStats: [Stat.strength, Stat.constitution]
21   },
22   'Mage': {
23     id: 'Mage',
24     name: 'Mage',
25     classStats: [Stat.intelligence, Stat.constitution]
26   },
27   'Rogue': {
28     id: 'Rogue',
29     name: 'Rogue',
30     classStats: [Stat.dexterity, Stat.constitution]
31   }
32 };