diff --git a/modules/malefices-utility.js b/modules/malefices-utility.js index e6a5e86..2492aa6 100644 --- a/modules/malefices-utility.js +++ b/modules/malefices-utility.js @@ -404,7 +404,7 @@ export class MaleficesUtility { console.log("Roll formula", diceFormula) let myRoll = new Roll(diceFormula).roll({ async: false }) await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode")) - rollData.roll = myRoll + rollData.roll = duplicate(myRoll) rollData.total = myRoll.total this.computeResults(rollData) diff --git a/system.json b/system.json index d3d2b9a..04dbdf8 100644 --- a/system.json +++ b/system.json @@ -61,7 +61,8 @@ "manifest": "https://www.uberwald.me/gitea/public/fvtt-malefices/raw/branch/master/system.json", "compatibility": { "minimum": "10", - "verified": "10" + "verified": "11", + "maximum": "11" }, "id": "fvtt-malefices", "primaryTokenAttribute": "secondary.health", @@ -72,7 +73,7 @@ ], "title": "Maléfices, le Jeu de Rôle", "url": "https://www.uberwald.me/gitea/public/fvtt-malefices", - "version": "10.1.4", - "download": "https://www.uberwald.me/gitea/public/fvtt-malefices/archive/fvtt-malefices-v10.1.4.zip", + "version": "11.0.0", + "download": "https://www.uberwald.me/gitea/public/fvtt-malefices/archive/fvtt-malefices-v11.0.0.zip", "background": "systems/fvtt-malefices/images/ui/malefice_welcome_page.webp" } \ No newline at end of file