Ajout tarot et autres
This commit is contained in:
@ -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})
|
||||
}
|
||||
|
||||
|
@ -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" }]
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user