Vehicle - WIP

This commit is contained in:
2022-09-05 08:57:02 +02:00
parent 9983619705
commit 7614964772
11 changed files with 1329 additions and 20 deletions

View File

@ -1100,6 +1100,9 @@ export class PegasusActor extends Actor {
/* -------------------------------------------- */
async computeNRGHealth() {
if (this.type == "vehicle") {
return
}
if (this.isOwner || game.user.isGM) {
let updates = {}
let phyDiceValue = PegasusUtility.getDiceValue(this.system.statistics.phy.value) + this.system.secondary.health.bonus + this.system.statistics.phy.mod;