Add threat level

This commit is contained in:
2022-02-25 17:11:31 +01:00
parent 1ea1b3b1a8
commit c73e51dfa1
4 changed files with 8 additions and 2 deletions

View File

@ -682,7 +682,7 @@ export class PegasusActor extends Actor {
updates['data.nrg.value'] = nrgValue
}
nrgValue = PegasusUtility.getDiceValue(this.data.data.statistics.foc.value) + this.data.data.statistics.foc.mod;
nrgValue = PegasusUtility.getDiceValue(this.data.data.statistics.mnd.value) + this.data.data.statistics.mnd.mod;
if (nrgValue != this.data.data.combat.stunthreshold) {
updates['data.combat.stunthreshold'] = nrgValue
}