mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 13:11:08 +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: {
|
actions: {
|
||||||
toggleVault: CharacterSheet.#toggleVault,
|
toggleVault: CharacterSheet.#toggleVault,
|
||||||
rollAttribute: CharacterSheet.#rollAttribute,
|
rollAttribute: CharacterSheet.#rollAttribute,
|
||||||
toggleHitpoints: CharacterSheet.#toggleHitPoints,
|
toggleHitPoints: CharacterSheet.#toggleHitPoints,
|
||||||
toggleHope: CharacterSheet.#toggleHope,
|
toggleHope: CharacterSheet.#toggleHope,
|
||||||
toggleLoadoutView: CharacterSheet.#toggleLoadoutView,
|
toggleLoadoutView: CharacterSheet.#toggleLoadoutView,
|
||||||
openPack: CharacterSheet.#openPack,
|
openPack: CharacterSheet.#openPack,
|
||||||
|
|
@ -736,7 +736,6 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
||||||
const hitPointsValue = Number.parseInt(button.dataset.value);
|
const hitPointsValue = Number.parseInt(button.dataset.value);
|
||||||
const newValue = this.document.system.resources.hitPoints.value >= hitPointsValue ? hitPointsValue - 1 : hitPointsValue;
|
const newValue = this.document.system.resources.hitPoints.value >= hitPointsValue ? hitPointsValue - 1 : hitPointsValue;
|
||||||
await this.document.update({ 'system.resources.hitPoints.value': newValue });
|
await this.document.update({ 'system.resources.hitPoints.value': newValue });
|
||||||
this.render();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue