From 894d4f3941034159abb228c371f549b30073d8ec Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Sun, 3 Nov 2024 22:00:06 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20jet=20d'endurance=20feuille=20simplifi?= =?UTF-8?q?=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 1 + module/actor/export-scriptarium/mapping.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 286af35e..9ee25acc 100644 --- a/changelog.md +++ b/changelog.md @@ -6,6 +6,7 @@ - Affichage du niveau d'esquive - Un clic sur l'initiative permet de lancer l'initiative - les boutons +/- pour la vie, l'endurance et la fatigue changent si on est à la valeur normale + - un clic sur l'endurance effectue un jet d'endurance - Fix - les achats des commerces sont de nouveau possibles - la commande /astro fonctionne de nouveau diff --git a/module/actor/export-scriptarium/mapping.js b/module/actor/export-scriptarium/mapping.js index c9161dba..8a4cd515 100644 --- a/module/actor/export-scriptarium/mapping.js +++ b/module/actor/export-scriptarium/mapping.js @@ -84,7 +84,7 @@ const MAPPING_BASE = [ { column: "malus_armure", getter: (actor, context) => Mapping.getMalusArmure(actor, context) }, { column: "reve_actuel", rollClass: 'roll-reve-actuel', colName: 'Rêve actuel', getter: (actor, context) => actor.system.reve.reve.value }, { column: "vie_actuel", rollClass: 'jet-vie', getter: (actor, context) => actor.system.sante.vie.value }, - { column: "endurance_actuel", rollClass: 'jet-vie', getter: (actor, context) => actor.system.sante.endurance.value }, + { column: "endurance_actuel", rollClass: 'jet-endurance', getter: (actor, context) => actor.system.sante.endurance.value }, { column: "esquive", getter: (actor, context) => Mapping.getEsquive(context) }, { column: "esquive_armure", getter: (actor, context) => Mapping.getEsquiveArmure(context) }, { column: "competences", getter: (actor, context) => Mapping.getCompetences(actor, CATEGORIES_COMPETENCES) },