Arme de jet bonus max x2

Et non pas x3
This commit is contained in:
Vincent Vandemeulebrouck 2020-11-11 04:24:07 +01:00
parent e4c9e5cfb6
commit c6e5bca5ef

View File

@ -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;