diff --git a/module/actor.js b/module/actor.js index da276847..8180fee1 100644 --- a/module/actor.js +++ b/module/actor.js @@ -2573,7 +2573,7 @@ export class RdDActor extends Actor { label: "Jet de méditation", callbacks: [ this.createCallbackExperience(), - { condition: r => r.rolled.isETotal, action: r => this._meditationETotal(r) }, + { condition: r => r.rolled.isEPart, action: r => this._meditationEPart(r) }, { action: r => this._meditationResult(r) } ] }); @@ -2594,7 +2594,7 @@ export class RdDActor extends Actor { } /* -------------------------------------------- */ - _meditationETotal(meditationData) { + _meditationEPart(meditationData) { meditationData.meditation.data.malus--; this.updateEmbeddedDocuments('Item', [meditationData.meditation]); }