Fix arme à distance + modificateur de vigueur

This commit is contained in:
2023-08-16 10:51:19 +02:00
parent 4344a5fbd3
commit bb38705d52
4 changed files with 6 additions and 7 deletions

View File

@@ -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 })
}