diff --git a/modules/pegasus-actor.js b/modules/pegasus-actor.js index a1070a7..4f088b4 100644 --- a/modules/pegasus-actor.js +++ b/modules/pegasus-actor.js @@ -2297,6 +2297,7 @@ export class PegasusActor extends Actor { if (actor) { let stat = this.getStat("hr") let rollData = this.getCommonRollData("hr") + rollData.vehicle = duplicate(this) rollData.isVehicleStun = true rollData.mode = "stat" rollData.title = `Stat ${stat.label}` diff --git a/modules/pegasus-utility.js b/modules/pegasus-utility.js index 147f64d..30d37ad 100644 --- a/modules/pegasus-utility.js +++ b/modules/pegasus-utility.js @@ -836,7 +836,7 @@ export class PegasusUtility { actor.modifyStun(+1) } if (rollData.isVehicleStun) { - this.modifyVehicleStun(1) + actor.modifyVehicleStun(1) } //this.removeUsedPerkEffects( rollData) // Unused for now