From c6e5bca5ef81e0f5531af9451cc29238e27b1f71 Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Wed, 11 Nov 2020 04:24:07 +0100 Subject: [PATCH] Arme de jet bonus max x2 Et non pas x3 --- module/actor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/actor.js b/module/actor.js index ffbb33b7..bb657e23 100644 --- a/module/actor.js +++ b/module/actor.js @@ -204,8 +204,8 @@ export class RdDActor extends Actor { rollData.domArmePlusDom += parseInt(this.data.data.attributs.plusdom.value); if ( rollData.selectedCarac.label == "Lancer" ) { // +dom only for Melee/Lancer let bdom = parseInt(this.data.data.attributs.plusdom.value); - if ( bdom > parseInt(rollData.arme.data.dommages)*2 ) - bdom = parseInt(rollData.arme.data.dommages)*2; + if ( bdom > parseInt(rollData.arme.data.dommages)) + bdom = parseInt(rollData.arme.data.dommages); rollData.domArmePlusDom += bdom } rollData.degats = parseInt(myroll.result) + rollData.domArmePlusDom;