1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-30 21:24:18 +00:00

ability calculator

This commit is contained in:
Maxime Moraine 2020-04-27 09:04:49 +02:00
parent 59c9b00e68
commit 79ed65ccaf
5 changed files with 143 additions and 0 deletions

View file

@ -0,0 +1,22 @@
export const ABILITYSCORECOSTS = {
6: { cost: -2 },
7: { cost: -1 },
8: { cost: 0 },
9: { cost: 1 },
10: { cost: 2 },
11: { cost: 3 },
12: { cost: 4 },
13: { cost: 5 },
14: { cost: 7 },
15: { cost: 9 },
16: { cost: 12 },
}
export const ABILITYSCORES = [
{ text: 'Force', value: 'for' },
{ text: 'Dextérité', value: 'dex' },
{ text: 'Constitution', value: 'con' },
{ text: 'Intelligence', value: 'int' },
{ text: 'Sagesse', value: 'sag' },
{ text: 'Charisme', value: 'cha' },
]

View file

@ -0,0 +1,10 @@
export const races = [
{
key: 'demi-elfe',
label: 'Demi-elfe',
abilityBonuses: [
{ ability: 'cha', value: 2 }
],
freeAbilityBonuses: { qty: 2, value: 1 }
}
]