mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-19 00:19:03 +01:00
Added Character-Settings
This commit is contained in:
parent
798cf8c761
commit
8555b7a044
17 changed files with 258 additions and 58 deletions
|
|
@ -25,7 +25,6 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
|||
toggleEquipItem: CharacterSheet.#toggleEquipItem,
|
||||
toggleResourceDice: CharacterSheet.#toggleResourceDice,
|
||||
handleResourceDice: CharacterSheet.#handleResourceDice,
|
||||
openConfig: CharacterSheet.#openConfig,
|
||||
useDowntime: this.useDowntime
|
||||
},
|
||||
window: {
|
||||
|
|
@ -717,20 +716,14 @@ export default class CharacterSheet extends DHBaseActorSheet {
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Open the character config sheet.
|
||||
* @type {ApplicationClickAction}
|
||||
*/
|
||||
static async #openConfig() {}
|
||||
|
||||
/**
|
||||
* Open the downtime application.
|
||||
* @type {ApplicationClickAction}
|
||||
*/
|
||||
static useDowntime(_, button) {
|
||||
new game.system.api.applications.dialogs.Downtime(this.document, button.dataset.type === 'shortRest').render(
|
||||
true
|
||||
);
|
||||
new game.system.api.applications.dialogs.Downtime(this.document, button.dataset.type === 'shortRest').render({
|
||||
force: true
|
||||
});
|
||||
}
|
||||
|
||||
async _onDragStart(event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue