mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 12:11:07 +01:00
I am silly (wearning Dunce hat)
This commit is contained in:
parent
eaf4e3b78f
commit
c887f82e3f
1 changed files with 1 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
|||
actions: {
|
||||
toggleVault: CharacterSheet.#toggleVault,
|
||||
rollAttribute: CharacterSheet.#rollAttribute,
|
||||
toggleHitpoints: CharacterSheet.#toggleHitPoints,
|
||||
toggleHitPoints: CharacterSheet.#toggleHitPoints,
|
||||
toggleHope: CharacterSheet.#toggleHope,
|
||||
toggleLoadoutView: CharacterSheet.#toggleLoadoutView,
|
||||
openPack: CharacterSheet.#openPack,
|
||||
|
|
@ -736,7 +736,6 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
|||
const hitPointsValue = Number.parseInt(button.dataset.value);
|
||||
const newValue = this.document.system.resources.hitPoints.value >= hitPointsValue ? hitPointsValue - 1 : hitPointsValue;
|
||||
await this.document.update({ 'system.resources.hitPoints.value': newValue });
|
||||
this.render();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue