mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +02:00
Remove unused companion hope resource
This commit is contained in:
parent
899f286def
commit
805535c0bb
2 changed files with 0 additions and 9 deletions
|
|
@ -60,12 +60,6 @@ const companionBaseResources = Object.freeze({
|
||||||
max: 3,
|
max: 3,
|
||||||
reverse: true,
|
reverse: true,
|
||||||
label: 'DAGGERHEART.GENERAL.stress'
|
label: 'DAGGERHEART.GENERAL.stress'
|
||||||
},
|
|
||||||
hope: {
|
|
||||||
id: 'hope',
|
|
||||||
initial: 0,
|
|
||||||
reverse: false,
|
|
||||||
label: 'DAGGERHEART.GENERAL.hope'
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -144,9 +144,6 @@ export default class DhCompanion extends DhCreature {
|
||||||
const level = this.levelData.levelups[levelKey];
|
const level = this.levelData.levelups[levelKey];
|
||||||
for (let selection of level.selections) {
|
for (let selection of level.selections) {
|
||||||
switch (selection.type) {
|
switch (selection.type) {
|
||||||
case 'hope':
|
|
||||||
this.resources.hope.max += selection.value;
|
|
||||||
break;
|
|
||||||
case 'vicious':
|
case 'vicious':
|
||||||
if (selection.data[0] === 'damage') {
|
if (selection.data[0] === 'damage') {
|
||||||
this.attack.damage.parts.hitPoints.value.dice = adjustDice(
|
this.attack.damage.parts.hitPoints.value.dice = adjustDice(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue