Compare commits

...

2 commits

2 changed files with 3 additions and 3 deletions

View file

@ -259,7 +259,7 @@ export default class DhpDowntime extends HandlebarsApplicationMixin(ApplicationV
const resetValue = increasing
? 0
: feature.system.resource.max
? new Roll(Roll.replaceFormulaData(feature.system.resource.max, this.actor)).evaluateSync().total
? new Roll(Roll.replaceFormulaData(feature.system.resource.max, this.actor.getRollData())).evaluateSync().total
: 0;
await feature.update({ 'system.resource.value': resetValue });

View file

@ -2,7 +2,7 @@
"id": "daggerheart",
"title": "Daggerheart",
"description": "An unofficial implementation of the Daggerheart system",
"version": "1.9.12",
"version": "1.9.13",
"compatibility": {
"minimum": "13.346",
"verified": "13.351",
@ -10,7 +10,7 @@
},
"url": "https://github.com/Foundryborne/daggerheart",
"manifest": "https://raw.githubusercontent.com/Foundryborne/daggerheart/V13/system.json",
"download": "https://github.com/Foundryborne/daggerheart/releases/download/1.9.12/system.zip",
"download": "https://github.com/Foundryborne/daggerheart/releases/download/1.9.13/system.zip",
"authors": [
{
"name": "WBHarry"