This commit is contained in:
Joscha Maier
2024-11-04 00:47:13 +01:00
parent bc71b3d2cc
commit dd42e5487c
6 changed files with 18 additions and 11 deletions

View File

@@ -22,6 +22,7 @@ export default class PlayerCharacter extends ActorGeneral
}
static LOCALISATION_PREFIXES = ["PlayerCharacter"];
prepareBaseData() {
super.prepareBaseData();
let effectsToApply = this.gatherEffects();

View File

@@ -0,0 +1 @@
export * from "./actor-sheet.mjs"

View File

@@ -1,4 +1,4 @@
const {api, sheet} = foundry.applications;
const {api, sheets} = foundry.applications;
export default class BaseActorSheet extends api.HandlebarsApplicationMixin(sheets.ActorSheetV2) {
@@ -21,4 +21,11 @@ export default class BaseActorSheet extends api.HandlebarsApplicationMixin(sheet
return `systems/kidsonbrooms/templates/actor/actor-sheet-{$this.actor.type}.html`;
}
async getData()
{
const context = super.getData();
console.log(context);
return context;
}
}