Fix dmg armes à 2 mains
This commit is contained in:
parent
fb9117aee3
commit
82fd02e3d1
@ -74,7 +74,7 @@ export class RdDBonus {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static _dmgArme(rollData) {
|
||||
return parseInt(rollData.arme?.data.dommages ?? 0);
|
||||
return rollData.arme == undefined ? 0 : (rollData.arme.data.dommagesReels ?? Number(rollData.arme.data.dommages ?? 0));
|
||||
}
|
||||
|
||||
static _peneration(rollData) {
|
||||
|
Loading…
Reference in New Issue
Block a user