Minot fixes

This commit is contained in:
LeRatierBretonnien 2023-02-22 23:08:03 +01:00
parent e62480efb0
commit 6e4cd71b99
3 changed files with 8 additions and 4 deletions

View File

@ -229,9 +229,9 @@ export class MaleficesActor extends Actor {
}
/* -------------------------------------------- */
getInitiativeScore(combatId, combatantId) {
let init = Math.floor(this.system.attributs.physique.value+this.system.attributs.habilete.value)
let init = Math.floor( (this.system.attributs.physique.value+this.system.attributs.habilite.value) / 2)
let subvalue = new Roll("1d20").roll({async: false})
return init + (subvalue / 100)
return init + (subvalue.total / 100)
}
/* -------------------------------------------- */

View File

@ -754,6 +754,10 @@ ul, li {
#token-hud .status-effects.active{
z-index: 2;
}
.token-sheet .window-content .flexcol .sheet-tabs {
font-size: 0.8rem;
}
/* ======================================== */
.item-checkbox {
height: 25px;

View File

@ -64,7 +64,7 @@
],
"title": "Maléfices, le Jeu de Rôle",
"url": "https://www.uberwald.me/gitea/public/fvtt-malefices",
"version": "10.0.24",
"download": "https://www.uberwald.me/gitea/public/fvtt-malefices/archive/fvtt-malefices-v10.0.24.zip",
"version": "10.0.25",
"download": "https://www.uberwald.me/gitea/public/fvtt-malefices/archive/fvtt-malefices-v10.0.25.zip",
"background": "systems/fvtt-malefices/images/ui/malefice_welcome_page.webp"
}