Fix #108 NRG value

This commit is contained in:
sladecraven 2022-10-06 20:18:51 +02:00
parent 7d05ef495b
commit 83801b294b

View File

@ -2602,7 +2602,7 @@ export class PegasusActor extends Actor {
}
/* -------------------------------------------- */
updateMaxNrg(currentLevel) {
this.update({ 'system.statistics.pc.maxnrg': Number(currentLevel) })
this.update({ 'system.statistics.pc.maxnrg': Number( PegasusUtility.getDiceValue(currentLevel) ) })
}
/* -------------------------------------------- */
setTurningArc(currentLevel) {