diff --git a/modules/pegasus-utility.js b/modules/pegasus-utility.js index 4d1585b..c50b6a9 100644 --- a/modules/pegasus-utility.js +++ b/modules/pegasus-utility.js @@ -201,6 +201,12 @@ export class PegasusUtility { for (let weapon of rollData.vehicleWeapons) { if (weapon.applied) { newDicePool = newDicePool.concat(this.buildDicePool("damage", weapon.value, 0)) + console.log("EXTRA DAMAGE!!", weapon) + if( weapon.weapon.system.extradamage) { + for(let i=0; i < weapon.weapon.system.extradamagevalue; i++) { + newDicePool = newDicePool.concat(this.buildDicePool("damage", 5, 0) ) + } + } } } rollData.dicePool = newDicePool