Les effets s'appliquent aux créatures

This commit is contained in:
2024-05-26 22:43:07 +02:00
parent 26e8853a94
commit 657566fb11
8 changed files with 8 additions and 13 deletions

View File

@ -269,6 +269,8 @@ export class RdDBaseActorSang extends RdDBaseActorReve {
return this.getEffect(STATUSES.StatusStunned);
}
isEffectAllowed(effectId) { return true }
/* -------------------------------------------- */
async computeEtatGeneral() { this.system.compteurs.etat.value = this.malusVie() + this.malusFatigue() + this.malusEthylisme() }
getEtatGeneral(options = { ethylisme: false }) { return this.system.compteurs.etat.value }