diff --git a/module/actor.js b/module/actor.js index 0470f4d4..b1b570c9 100644 --- a/module/actor.js +++ b/module/actor.js @@ -473,9 +473,15 @@ export class RdDActor extends Actor { await this._recupererEthylisme(message); await this.recupererFatigue(message); await this.recuperationReve(message); + if (this.isDonDoubleReve()) { + await this.recuperationReve(message); + } } ChatMessage.create(message); } + isDonDoubleReve() { + return this.data.items.find(item => item.type == 'tete' && item.name == 'Don de double-rĂªve'); + } /* -------------------------------------------- */ async _recupererEthylisme(message) {