Fix v9
This commit is contained in:
parent
e4f8505cc7
commit
35aab26384
@ -225,8 +225,13 @@ export class YggdrasillActor extends Actor {
|
|||||||
}
|
}
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
getInitiativeScore() {
|
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() {
|
getCompetencesGenerales() {
|
||||||
let comp = this.data.items.filter( item => item.type == 'competence' && item.data.data.categorie == 'generale');
|
let comp = this.data.items.filter( item => item.type == 'competence' && item.data.data.categorie == 'generale');
|
||||||
|
Loading…
Reference in New Issue
Block a user