Init, competences de base, fix creation de perso, etc
This commit is contained in:
@ -306,7 +306,7 @@ export class TeDeumCharacterCreator {
|
||||
let context = {
|
||||
title: "Création de personnage",
|
||||
subtitle: "Origine Sociale",
|
||||
sexeChoice: { "homme": "Homme", "femme": "Femme" },
|
||||
sexeChoice: { "Homme": "Homme", "Femme": "Femme" },
|
||||
religionChoice: { "catholique": "Catholique", "protestante": "Protestante" },
|
||||
origineChoice: game.system.tedeum.config.origineSociale
|
||||
}
|
||||
@ -406,7 +406,7 @@ export class TeDeumCharacterCreator {
|
||||
}
|
||||
|
||||
this.grimauds = foundry.utils.duplicate(stage.items.find(item => item.id === choiceResult.selectedItem))
|
||||
context.title = `LesPetits Grimauds - ${this.grimauds.name}"`
|
||||
context.title = `LesPetits Grimauds - ${this.grimauds.name}`
|
||||
TeDeumUtility.prepareEducationContent(this.grimauds);
|
||||
|
||||
context.label = "Valider l'augmentation de caracteristique"
|
||||
@ -530,7 +530,7 @@ export class TeDeumCharacterCreator {
|
||||
updates[`system.caracteristiques.${key}.value`] = Number(this.caracBonus[key].value)+1
|
||||
}
|
||||
updates['system.genre'] = this.sexe
|
||||
updates['system.religion'] = this.religion
|
||||
updates['system.religion'] = TeDeumUtility.upperFirst(this.religion)
|
||||
updates['system.statutocial'] = this.origineSociale.label
|
||||
updates['system.equipmentfree'] = this.ageViril.system.trousseau
|
||||
actor.update( updates);
|
||||
|
Reference in New Issue
Block a user