Erreur si draconic sans être haut-rêvant

This commit is contained in:
Vincent Vandemeulebrouck
2021-04-04 00:16:49 +02:00
parent f087b61c27
commit 4aaa72ed1a
2 changed files with 8 additions and 0 deletions

View File

@ -157,6 +157,10 @@ export class RdDActor extends Actor {
return this.data.type == 'personnage';
}
/* -------------------------------------------- */
isHautRevant() {
return Misc.templateData(this).attributs.hautrevant.value != ""
}
/* -------------------------------------------- */
getFatigueActuelle() {
if (!this.isPersonnage()) {
return 0;