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:
parent
59c9b00e68
commit
79ed65ccaf
5 changed files with 143 additions and 0 deletions
22
docs/.vuepress/data/abilityScores.js
Normal file
22
docs/.vuepress/data/abilityScores.js
Normal 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' },
|
||||
]
|
||||
10
docs/.vuepress/data/races.js
Normal file
10
docs/.vuepress/data/races.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
export const races = [
|
||||
{
|
||||
key: 'demi-elfe',
|
||||
label: 'Demi-elfe',
|
||||
abilityBonuses: [
|
||||
{ ability: 'cha', value: 2 }
|
||||
],
|
||||
freeAbilityBonuses: { qty: 2, value: 1 }
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue