Fix: activer Destin dès qu'il y a des points (lvl > 0 au lieu de >= 8)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-29 22:04:16 +02:00
parent 941548fcad
commit 149bc4eb8b
2 changed files with 3 additions and 3 deletions

View File

@@ -128,8 +128,8 @@
"below": "en dessous du seuil", "below": "en dessous du seuil",
"destin": "Utiliser le Destin", "destin": "Utiliser le Destin",
"destinBonus": "3d8 au lieu de 2d8", "destinBonus": "3d8 au lieu de 2d8",
"destGaugeFull": "Jauge pleine — vider pour 3d8", "destGaugeFull": "Destin disponible — vider pour 3d8",
"destGaugeEmpty": "Jauge vide", "destGaugeEmpty": "Jauge destin vide",
"usedAspect": "Aspect utilisé", "usedAspect": "Aspect utilisé",
"usedDestin": "Destin utilisé (jauge vidée)", "usedDestin": "Destin utilisé (jauge vidée)",
"criticalSuccessDesc": "Marge ≥ 5 — résultat exceptionnel !", "criticalSuccessDesc": "Marge ≥ 5 — résultat exceptionnel !",

View File

@@ -211,7 +211,7 @@ export default class CelestopolCharacter extends foundry.abstract.TypeDataModel
woundLevel: this.blessures.lvl, woundLevel: this.blessures.lvl,
difficulty: this.prefs.difficulty, difficulty: this.prefs.difficulty,
rollMoonDie: this.prefs.rollMoonDie ?? false, rollMoonDie: this.prefs.rollMoonDie ?? false,
destGaugeFull: this.destin.lvl >= 8, destGaugeFull: this.destin.lvl > 0,
fortuneValue: this.attributs.fortune.value, fortuneValue: this.attributs.fortune.value,
}) })
} }