Fix categorieCompetences.base
au lieu de niveau/level
This commit is contained in:
parent
c26ba66722
commit
7f3a575349
@ -24,14 +24,14 @@ const limitesArchetypes = [
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
const categorieCompetences = {
|
const categorieCompetences = {
|
||||||
"generale": { level: "-4", label: "Générales" },
|
"generale": { base: "-4", label: "Générales" },
|
||||||
"particuliere": { level: "-8", label: "Particulières" },
|
"particuliere": { base: "-8", label: "Particulières" },
|
||||||
"specialisee": { level: "-11", label: "Spécialisées" },
|
"specialisee": { base: "-11", label: "Spécialisées" },
|
||||||
"connaissance": { level: "-11", label: "Connaissances" },
|
"connaissance": { base: "-11", label: "Connaissances" },
|
||||||
"draconic": { level: "-11", label: "Draconics" },
|
"draconic": { base: "-11", label: "Draconics" },
|
||||||
"melee": { level: "-6", label: "Mêlée" },
|
"melee": { base: "-6", label: "Mêlée" },
|
||||||
"tir": { level: "-8", label: "Tir" },
|
"tir": { base: "-8", label: "Tir" },
|
||||||
"lancer": { level: "-8", label: "Lancer" }
|
"lancer": { base: "-8", label: "Lancer" }
|
||||||
}
|
}
|
||||||
|
|
||||||
const compendiumCompetences = {
|
const compendiumCompetences = {
|
||||||
@ -64,7 +64,7 @@ export class RdDItemCompetence extends Item {
|
|||||||
return categorieCompetences;
|
return categorieCompetences;
|
||||||
}
|
}
|
||||||
static getNiveauBase(category) {
|
static getNiveauBase(category) {
|
||||||
return categorieCompetences[category].niveau;
|
return categorieCompetences[category].base;
|
||||||
}
|
}
|
||||||
static getLabelCategorie(category) {
|
static getLabelCategorie(category) {
|
||||||
return categorieCompetences[category].label;
|
return categorieCompetences[category].label;
|
||||||
|
Loading…
Reference in New Issue
Block a user