v10/v11 compatibility

This commit is contained in:
LeRatierBretonnien 2023-05-25 08:04:31 +02:00
parent 14b536cc52
commit 8af5851246
2 changed files with 5 additions and 4 deletions

View File

@ -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)

View File

@ -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"
}