Compare commits

...

2 Commits

Author SHA1 Message Date
8af5851246 v10/v11 compatibility 2023-05-25 08:04:31 +02:00
14b536cc52 Fix sur ajout tarots 2023-05-08 23:24:05 +02:00
3 changed files with 7 additions and 6 deletions

View File

@ -404,7 +404,7 @@ export class MaleficesUtility {
console.log("Roll formula", diceFormula) console.log("Roll formula", diceFormula)
let myRoll = new Roll(diceFormula).roll({ async: false }) let myRoll = new Roll(diceFormula).roll({ async: false })
await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode")) await this.showDiceSoNice(myRoll, game.settings.get("core", "rollMode"))
rollData.roll = myRoll rollData.roll = duplicate(myRoll)
rollData.total = myRoll.total rollData.total = myRoll.total
this.computeResults(rollData) this.computeResults(rollData)

View File

@ -61,7 +61,8 @@
"manifest": "https://www.uberwald.me/gitea/public/fvtt-malefices/raw/branch/master/system.json", "manifest": "https://www.uberwald.me/gitea/public/fvtt-malefices/raw/branch/master/system.json",
"compatibility": { "compatibility": {
"minimum": "10", "minimum": "10",
"verified": "10" "verified": "11",
"maximum": "11"
}, },
"id": "fvtt-malefices", "id": "fvtt-malefices",
"primaryTokenAttribute": "secondary.health", "primaryTokenAttribute": "secondary.health",
@ -72,7 +73,7 @@
], ],
"title": "Maléfices, le Jeu de Rôle", "title": "Maléfices, le Jeu de Rôle",
"url": "https://www.uberwald.me/gitea/public/fvtt-malefices", "url": "https://www.uberwald.me/gitea/public/fvtt-malefices",
"version": "10.1.3", "version": "11.0.0",
"download": "https://www.uberwald.me/gitea/public/fvtt-malefices/archive/fvtt-malefices-v10.1.3.zip", "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" "background": "systems/fvtt-malefices/images/ui/malefice_welcome_page.webp"
} }

View File

@ -339,7 +339,7 @@
<label class="item-field-label-medium">Sens</label> <label class="item-field-label-medium">Sens</label>
</span> </span>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="weapon" title="Create Item"><i class="fas fa-plus"></i></a> <a class="item-control item-add" data-type="tarot" title="Create Item"><i class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each tarots as |tarot key|}} {{#each tarots as |tarot key|}}
@ -368,7 +368,7 @@
<label class="item-field-label-medium">Sens</label> <label class="item-field-label-medium">Sens</label>
</span> </span>
<div class="item-controls item-controls-fixed"> <div class="item-controls item-controls-fixed">
<a class="item-control item-add" data-type="weapon" title="Create Item"><i class="fas fa-plus"></i></a> <a class="item-control item-add" data-type="tarot" title="Create Item"><i class="fas fa-plus"></i></a>
</div> </div>
</li> </li>
{{#each tarotsCache as |tarot key|}} {{#each tarotsCache as |tarot key|}}