diff --git a/modules/pegasus-actor.js b/modules/pegasus-actor.js index 7fabadd..c185a2b 100644 --- a/modules/pegasus-actor.js +++ b/modules/pegasus-actor.js @@ -1647,11 +1647,13 @@ export class PegasusActor extends Actor { ui.notifications.warn("MR not added to Melee Damage due to Full Stop.") } else { rollData.statVehicle = vehicle.system.statistics.mr + rollData.vehicleKey = "mr" } this.addVehicleWeapons(rollData, vehicle) } if (subKey == "ranged-atk") { rollData.statVehicle = vehicle.system.statistics.fc + rollData.vehicleKey = "fc" } if (subKey == "ranged-dmg") { this.addVehicleWeapons(rollData, vehicle) @@ -1661,8 +1663,10 @@ export class PegasusActor extends Actor { ui.notifications.warn("MAN not added to Defense due to Full Stop.") } else { rollData.statVehicle = vehicle.system.statistics.man + rollData.vehicleKey = "man" } } + vehicle.addEffects(rollData, false, false, false) //this.addVehiculeHindrances(rollData.effectsList, vehicle) //this.addVehicleBonus(rollData, vehicle) } diff --git a/templates/partial-roll-select-effects.html b/templates/partial-roll-select-effects.html index fb976c8..2a0949c 100644 --- a/templates/partial-roll-select-effects.html +++ b/templates/partial-roll-select-effects.html @@ -44,6 +44,18 @@ {{/if}} {{/each}} {{else}} + + {{#if (eq @root.vehicleKey effect.effect.system.stataffected)}} +
  • + + {{#if effect.effect}} + + {{else}} + + {{/if}} +
  • + {{/if}} + {{#if (eq @root.statKey effect.effect.system.stataffected)}}
  • @@ -76,6 +88,7 @@ {{/if}} {{/if}} {{/if}} + {{/if}} {{/if}} {{/if}}