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;