parent
e9ac959a81
commit
925a91b1ad
@ -201,6 +201,12 @@ export class PegasusUtility {
|
|||||||
for (let weapon of rollData.vehicleWeapons) {
|
for (let weapon of rollData.vehicleWeapons) {
|
||||||
if (weapon.applied) {
|
if (weapon.applied) {
|
||||||
newDicePool = newDicePool.concat(this.buildDicePool("damage", weapon.value, 0))
|
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
|
rollData.dicePool = newDicePool
|
||||||
|
Loading…
Reference in New Issue
Block a user