From 805535c0bb687f262192ab828ddc7ff6fc3cfc64 Mon Sep 17 00:00:00 2001 From: Carlos Fernandez Date: Sun, 26 Apr 2026 04:52:51 -0400 Subject: [PATCH] Remove unused companion hope resource --- module/config/resourceConfig.mjs | 6 ------ module/data/actor/companion.mjs | 3 --- 2 files changed, 9 deletions(-) diff --git a/module/config/resourceConfig.mjs b/module/config/resourceConfig.mjs index a873b303..d33d7ab3 100644 --- a/module/config/resourceConfig.mjs +++ b/module/config/resourceConfig.mjs @@ -60,12 +60,6 @@ const companionBaseResources = Object.freeze({ max: 3, reverse: true, label: 'DAGGERHEART.GENERAL.stress' - }, - hope: { - id: 'hope', - initial: 0, - reverse: false, - label: 'DAGGERHEART.GENERAL.hope' } }); diff --git a/module/data/actor/companion.mjs b/module/data/actor/companion.mjs index be874724..300bd698 100644 --- a/module/data/actor/companion.mjs +++ b/module/data/actor/companion.mjs @@ -144,9 +144,6 @@ export default class DhCompanion extends DhCreature { const level = this.levelData.levelups[levelKey]; for (let selection of level.selections) { switch (selection.type) { - case 'hope': - this.resources.hope.max += selection.value; - break; case 'vicious': if (selection.data[0] === 'damage') { this.attack.damage.parts.hitPoints.value.dice = adjustDice(