mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 20:51:07 +01:00
Removed temp button to open character setup
This commit is contained in:
parent
a902b2f1e5
commit
12573cbc38
2 changed files with 1 additions and 8 deletions
|
|
@ -6,7 +6,6 @@ import DaggerheartSheet from './daggerheart-sheet.mjs';
|
||||||
import { abilities } from '../../config/actorConfig.mjs';
|
import { abilities } from '../../config/actorConfig.mjs';
|
||||||
import DhlevelUp from '../levelup.mjs';
|
import DhlevelUp from '../levelup.mjs';
|
||||||
import DHDualityRoll from '../../data/chat-message/dualityRoll.mjs';
|
import DHDualityRoll from '../../data/chat-message/dualityRoll.mjs';
|
||||||
import DhCharacterCreation from '../characterCreation.mjs';
|
|
||||||
|
|
||||||
const { ActorSheetV2 } = foundry.applications.sheets;
|
const { ActorSheetV2 } = foundry.applications.sheets;
|
||||||
const { TextEditor } = foundry.applications.ux;
|
const { TextEditor } = foundry.applications.ux;
|
||||||
|
|
@ -48,8 +47,7 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
|
||||||
useAdvancementCard: this.useAdvancementCard,
|
useAdvancementCard: this.useAdvancementCard,
|
||||||
useAdvancementAbility: this.useAdvancementAbility,
|
useAdvancementAbility: this.useAdvancementAbility,
|
||||||
toggleEquipItem: this.toggleEquipItem,
|
toggleEquipItem: this.toggleEquipItem,
|
||||||
levelup: this.openLevelUp,
|
levelup: this.openLevelUp
|
||||||
temp: this.temp
|
|
||||||
},
|
},
|
||||||
window: {
|
window: {
|
||||||
minimizable: false,
|
minimizable: false,
|
||||||
|
|
@ -385,10 +383,6 @@ export default class CharacterSheet extends DaggerheartSheet(ActorSheetV2) {
|
||||||
new DhlevelUp(this.document).render(true);
|
new DhlevelUp(this.document).render(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
static temp() {
|
|
||||||
new DhCharacterCreation(this.document).render(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
static async useDomainCard(_, button) {
|
static async useDomainCard(_, button) {
|
||||||
const card = this.document.items.find(x => x.uuid === button.dataset.key);
|
const card = this.document.items.find(x => x.uuid === button.dataset.key);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
<div>
|
<div>
|
||||||
<header>
|
<header>
|
||||||
<button data-action="temp">Test</button>
|
|
||||||
<div class="pc-sheet-header">
|
<div class="pc-sheet-header">
|
||||||
<div class="class-info">
|
<div class="class-info">
|
||||||
<div class="flexrow">
|
<div class="flexrow">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue