Fix #80
This commit is contained in:
parent
536b42dbe0
commit
aa1d5e8ecb
@ -2297,6 +2297,7 @@ export class PegasusActor extends Actor {
|
|||||||
if (actor) {
|
if (actor) {
|
||||||
let stat = this.getStat("hr")
|
let stat = this.getStat("hr")
|
||||||
let rollData = this.getCommonRollData("hr")
|
let rollData = this.getCommonRollData("hr")
|
||||||
|
rollData.vehicle = duplicate(this)
|
||||||
rollData.isVehicleStun = true
|
rollData.isVehicleStun = true
|
||||||
rollData.mode = "stat"
|
rollData.mode = "stat"
|
||||||
rollData.title = `Stat ${stat.label}`
|
rollData.title = `Stat ${stat.label}`
|
||||||
|
@ -836,7 +836,7 @@ export class PegasusUtility {
|
|||||||
actor.modifyStun(+1)
|
actor.modifyStun(+1)
|
||||||
}
|
}
|
||||||
if (rollData.isVehicleStun) {
|
if (rollData.isVehicleStun) {
|
||||||
this.modifyVehicleStun(1)
|
actor.modifyVehicleStun(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
//this.removeUsedPerkEffects( rollData) // Unused for now
|
//this.removeUsedPerkEffects( rollData) // Unused for now
|
||||||
|
Loading…
Reference in New Issue
Block a user