diff --git a/changelog.md b/changelog.md index 35e42ff3..8e101dd4 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,7 @@ ## 12.0.3 - L'hémorragie d'Astrobazzarh - **Support V12** - On peut de nouveau ouvrir un acteur blessé après redémarrage du monde + - On peut de nouveau ouvrir les Items avec une rareté par environnement ## 12.0.2 - Les pluies d'Astrobazzarh - **Support V12** diff --git a/module/item-sheet.js b/module/item-sheet.js index beacf673..b11efec2 100644 --- a/module/item-sheet.js +++ b/module/item-sheet.js @@ -98,7 +98,8 @@ export class RdDItemSheet extends ItemSheet { description: await TextEditor.enrichHTML(this.item.system.description, { async: true }), descriptionmj: await TextEditor.enrichHTML(this.item.system.descriptionmj, { async: true }), isComestible: this.item.getUtilisationCuisine(), - options: RdDSheetUtility.mergeDocumentRights(this.options, this.item, this.isEditable) + options: RdDSheetUtility.mergeDocumentRights(this.options, this.item, this.isEditable), + config: game.system.rdd.config } if (this.item.type == TYPES.competencecreature) { formData.isparade = RdDItemCompetenceCreature.isParade(this.item) diff --git a/templates/item/partial-environnement.html b/templates/item/partial-environnement.html index a3e905be..f6d3aab6 100644 --- a/templates/item/partial-environnement.html +++ b/templates/item/partial-environnement.html @@ -18,6 +18,7 @@ + {{#each system.environnement as |env key|}}
{{rangePicker name="milieu-{{key}}-frequence" value=env.frequence min=(rarete-getChamp env.rarete 'min') max=(rarete-getChamp env.rarete 'max') step=1}}