From 8e5fb9aca12080397d3802604014f2d76c31e848 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnier Date: Thu, 16 Apr 2026 22:26:44 +0200 Subject: [PATCH] Correction sur jauge de destin --- module/models/character.mjs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/module/models/character.mjs b/module/models/character.mjs index 623e957..c54fd84 100644 --- a/module/models/character.mjs +++ b/module/models/character.mjs @@ -231,7 +231,7 @@ export default class CelestopolCharacter extends foundry.abstract.TypeDataModel woundLevel: this.blessures.lvl, difficulty: this.prefs.difficulty, rollMoonDie: this.prefs.rollMoonDie ?? false, - destGaugeFull: this.destin.lvl > 0, + destGaugeFull: this.destin.lvl >= 8, fortuneValue: this.attributs.fortune.value, }) } @@ -343,7 +343,7 @@ export default class CelestopolCharacter extends foundry.abstract.TypeDataModel armorMalus: this.getArmorMalusForRoll("corps", "echauffouree"), woundLevel: this.blessures.lvl, rollMoonDie: this.prefs.rollMoonDie ?? false, - destGaugeFull: this.destin.lvl > 0, + destGaugeFull: this.destin.lvl >= 8, fortuneValue: this.attributs.fortune.value, isCombat: true, isRangedDefense: false, @@ -376,7 +376,7 @@ export default class CelestopolCharacter extends foundry.abstract.TypeDataModel armorMalus: this.getArmorMalusForRoll("corps", "echauffouree"), woundLevel: this.blessures.lvl, rollMoonDie: this.prefs.rollMoonDie ?? false, - destGaugeFull: this.destin.lvl > 0, + destGaugeFull: this.destin.lvl >= 8, fortuneValue: this.attributs.fortune.value, isCombat: true, isRangedDefense: false, @@ -415,7 +415,7 @@ export default class CelestopolCharacter extends foundry.abstract.TypeDataModel armorMalus: this.getArmorMalusForRoll("corps", "mobilite"), woundLevel: this.blessures.lvl, rollMoonDie: this.prefs.rollMoonDie ?? false, - destGaugeFull: this.destin.lvl > 0, + destGaugeFull: this.destin.lvl >= 8, fortuneValue: this.attributs.fortune.value, isCombat: true, isRangedDefense: true, @@ -449,7 +449,7 @@ export default class CelestopolCharacter extends foundry.abstract.TypeDataModel armorMalus: this.getArmorMalusForRoll("corps", "mobilite"), woundLevel: this.blessures.lvl, rollMoonDie: this.prefs.rollMoonDie ?? false, - destGaugeFull: this.destin.lvl > 0, + destGaugeFull: this.destin.lvl >= 8, fortuneValue: this.attributs.fortune.value, isCombat: true, isRangedDefense: true,