Do some more work on the character sheet MVP

This commit is contained in:
Oliver-Akins 2023-12-17 18:29:52 -07:00
parent 340f80c5b9
commit a2a72792a2
11 changed files with 138 additions and 17 deletions

View file

@ -17,8 +17,7 @@ export class PlayerSheet extends ActorSheet {
if (!this.isEditable) return;
console.debug(`.dungeon | Adding event listeners for Actor: ${this.id}`);
// Modal openings
// html.find(`button.stat-prompt`).on("click", () => {});
// html.find(`input.sync__input`).on("blur", ($e) => {});
};
getData() {
@ -28,6 +27,10 @@ export class PlayerSheet extends ActorSheet {
ctx.system = actor.system;
ctx.flags = actor.flags;
ctx.computed = {
syncTotal: 0
};
console.groupCollapsed(`PlayerSheet.getData`);
console.log(`ctx`, ctx);
console.log(`actor`, actor);