Version 10.7.3 - Les tisanes de Sémolosse #637

Merged
uberwald merged 5 commits from VincentVk/foundryvtt-reve-de-dragon:v10 into v10 2023-03-23 17:02:57 +01:00
Showing only changes of commit 5e6ffc7846 - Show all commits

View File

@ -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),