From 83801b294b9e9bca74a442c7a1980238176a7791 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Thu, 6 Oct 2022 20:18:51 +0200 Subject: [PATCH] Fix #108 NRG value --- modules/pegasus-actor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pegasus-actor.js b/modules/pegasus-actor.js index 41f546e..e6b9f79 100644 --- a/modules/pegasus-actor.js +++ b/modules/pegasus-actor.js @@ -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) {