From 81d68e5ba39c000485e1cc8b176e76966d2c4fd3 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Wed, 31 Mar 2021 01:21:53 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20jet=20cr=C3=A9atures?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/item-competencecreature.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/item-competencecreature.js b/module/item-competencecreature.js index e6140035..ca2dc607 100644 --- a/module/item-competencecreature.js +++ b/module/item-competencecreature.js @@ -5,8 +5,8 @@ export class RdDItemCompetenceCreature extends Item { /* -------------------------------------------- */ static setRollDataCreature(rollData) { + rollData.competence = Misc.data(rollData.competence); rollData.carac = { "carac_creature": { label: rollData.competence.name, value: rollData.competence.data.carac_value } }; - rollData.competence = duplicate(rollData.competence); rollData.competence.data.defaut_carac = "carac_creature"; rollData.competence.data.categorie = "creature"; rollData.selectedCarac = rollData.carac.carac_creature;