Attached CharacterCreate and Levelup functionality to the sheet

This commit is contained in:
WBHarry 2025-06-25 15:45:18 +02:00
parent 7f898bb983
commit 4f6c87a524
10 changed files with 208 additions and 57 deletions

View file

@ -110,6 +110,10 @@ export default class DhCharacter extends BaseDataActor {
return this.parent.items.find(x => x.type === 'community') ?? null;
}
get needsCharacterSetup() {
return !this.class.value || !this.class.subclass;
}
get domains() {
const classDomains = this.class.value ? this.class.value.system.domains : [];
const multiclassDomains = this.multiclass.value ? this.multiclass.value.system.domains : [];