diff --git a/module/actor.js b/module/actor.js index 6749d6dc..9d9426d4 100644 --- a/module/actor.js +++ b/module/actor.js @@ -3567,7 +3567,7 @@ export class RdDActor extends RdDBaseActor { } } if (!potionData.system.magique || potionData.rolled.isSuccess) { - await this.setBonusPotionSoin(potionData.system.herbeBonus); + await this.setBonusPotionSoin(potionData.system.herbebonus); } ChatMessage.create({ whisper: ChatUtility.getWhisperRecipientsAndGMs(this.name), @@ -3576,7 +3576,7 @@ export class RdDActor extends RdDBaseActor { } async setBonusPotionSoin(bonus) { - await this.update({ 'sante.bonusPotion': bonus }); + await this.update({ 'system.sante.bonusPotion': bonus }); } /* -------------------------------------------- */ @@ -3604,7 +3604,7 @@ export class RdDActor extends RdDBaseActor { } } if (!potionData.system.magique || potionData.rolled.isSuccess) { - this.bonusRepos = potionData.system.herbeBonus; + this.bonusRepos = potionData.system.herbebonus; } ChatMessage.create({ whisper: ChatUtility.getWhisperRecipientsAndGMs(this.name),