diff --git a/modules/pegasus-actor.js b/modules/pegasus-actor.js index aa9ad78..ac3b40c 100644 --- a/modules/pegasus-actor.js +++ b/modules/pegasus-actor.js @@ -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 } diff --git a/system.json b/system.json index 0a6c566..b7286f5 100644 --- a/system.json +++ b/system.json @@ -183,6 +183,6 @@ "templateVersion": 81, "title": "Pegasus RPG", "url": "https://www.uberwald.me/data/files/fvtt-pegasus-rpg", - "version": "0.4.19", + "version": "0.4.20", "background" : "./images/ui/pegasus_welcome_page.webp" } diff --git a/template.json b/template.json index 11fea33..2fa5b6d 100644 --- a/template.json +++ b/template.json @@ -22,6 +22,7 @@ "catchphrasetrigger": "", "charactervalue": 0, "level": 0, + "threatlevel": 0, "cdp": 0, "cdpused": 0, "notes": "", diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index da9a074..0159e9b 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -649,6 +649,11 @@ +