From 149bc4eb8b953febd0a097be6bbf54c548c820ae Mon Sep 17 00:00:00 2001 From: LeRatierBretonnier Date: Sun, 29 Mar 2026 22:04:16 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20activer=20Destin=20d=C3=A8s=20qu'il=20y?= =?UTF-8?q?=20a=20des=20points=20(lvl=20>=200=20au=20lieu=20de=20>=3D=208)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- lang/fr.json | 4 ++-- module/models/character.mjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/fr.json b/lang/fr.json index 5726675..5dfb183 100644 --- a/lang/fr.json +++ b/lang/fr.json @@ -128,8 +128,8 @@ "below": "en dessous du seuil", "destin": "Utiliser le Destin", "destinBonus": "3d8 au lieu de 2d8", - "destGaugeFull": "Jauge pleine — vider pour 3d8", - "destGaugeEmpty": "Jauge vide", + "destGaugeFull": "Destin disponible — vider pour 3d8", + "destGaugeEmpty": "Jauge destin vide", "usedAspect": "Aspect utilisé", "usedDestin": "Destin utilisé (jauge vidée)", "criticalSuccessDesc": "Marge ≥ 5 — résultat exceptionnel !", diff --git a/module/models/character.mjs b/module/models/character.mjs index 0902d93..815d212 100644 --- a/module/models/character.mjs +++ b/module/models/character.mjs @@ -211,7 +211,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 >= 8, + destGaugeFull: this.destin.lvl > 0, fortuneValue: this.attributs.fortune.value, }) }