This commit is contained in:
sladecraven 2022-01-12 11:58:05 +01:00
parent e4f8505cc7
commit 35aab26384
1 changed files with 6 additions and 1 deletions

View File

@ -225,8 +225,13 @@ export class YggdrasillActor extends Actor {
}
/* -------------------------------------------- */
getInitiativeScore() {
return this.data.data.caracsecondaire.reaction.max;
if ( this.type == 'character') {
return this.data.data.caracsecondaire.reaction.max;
} else {
return this.data.data.attributs.physique.values.defaut.value;
}
}
/* -------------------------------------------- */
getCompetencesGenerales() {
let comp = this.data.items.filter( item => item.type == 'competence' && item.data.data.categorie == 'generale');