diff --git a/modules/malefices-actor.js b/modules/malefices-actor.js index 8a4e269..9844651 100644 --- a/modules/malefices-actor.js +++ b/modules/malefices-actor.js @@ -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) } /* -------------------------------------------- */ diff --git a/styles/simple.css b/styles/simple.css index e16e01d..41b44d9 100644 --- a/styles/simple.css +++ b/styles/simple.css @@ -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; diff --git a/system.json b/system.json index 27e772a..5ca82c9 100644 --- a/system.json +++ b/system.json @@ -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" } \ No newline at end of file