mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 04:01:06 +01:00
Attached CharacterCreate and Levelup functionality to the sheet
This commit is contained in:
parent
7f898bb983
commit
4f6c87a524
10 changed files with 208 additions and 57 deletions
|
|
@ -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 : [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue