Ajout tarot et autres

This commit is contained in:
2023-02-02 22:20:35 +01:00
parent 326c29d87e
commit db846f944e
35 changed files with 162 additions and 179 deletions

View File

@ -270,7 +270,7 @@ export class MaleficesActor extends Actor {
/* -------------------------------------------- */
incDecDestin( value) {
let newValue = this.system.pointdestin + value
let newValue = Math.max( this.system.pointdestin + value, 0)
this.update( {'system.pointdestin': newValue})
}

View File

@ -14,7 +14,7 @@ export class MaleficesItemSheet extends ItemSheet {
template: "systems/fvtt-malefices/templates/item-sheet.hbs",
dragDrop: [{ dragSelector: null, dropSelector: null }],
width: 620,
height: 480,
height: 'fit-content',
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }]
});
}