diff --git a/modules/hawkmoon-actor.js b/modules/hawkmoon-actor.js index 6b7514b..8e21671 100644 --- a/modules/hawkmoon-actor.js +++ b/modules/hawkmoon-actor.js @@ -226,7 +226,7 @@ export class HawkmoonActor extends Actor { if (this.type == 'personnage') { let talentBonus = this.getVigueurBonus() - let vigueur = Math.floor((this.system.attributs.pui.value + this.system.attributs.tre.value) / 2) + talentBonus + let vigueur = Math.floor((this.system.attributs.pui.value + this.system.attributs.tre.value) / 2) + talentBonus + this.system.sante.vigueurmodifier if (vigueur != this.system.sante.vigueur) { this.update({ 'system.sante.vigueur': vigueur }) } diff --git a/system.json b/system.json index 7a89123..5243521 100644 --- a/system.json +++ b/system.json @@ -156,7 +156,6 @@ "background": "systems/fvtt-hawkmoon-cyd/assets/ui/fond_hawkmoon.webp", "compatibility": { "minimum": "10", - "maximum": "11", - "verified": "11" + "maximum": "11" } } \ No newline at end of file diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 5b99663..f7c312e 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -115,8 +115,8 @@ {{#if isGM}}
Modificateur de Vigueur - +
{{/if}} diff --git a/templates/roll-dialog-generic.html b/templates/roll-dialog-generic.html index 4609032..46212a7 100644 --- a/templates/roll-dialog-generic.html +++ b/templates/roll-dialog-generic.html @@ -159,7 +159,7 @@ - {{#if armeDefense}} + {{#if (or armeDefense arme.system.isDistance)}} {{#if arme.system.isDistance}}
@@ -168,7 +168,7 @@ {{#select distanceTir}} - + {{/select}}