mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 04:31:07 +01:00
FEAT: add class prepareBaseData for domains
This commit is contained in:
parent
527a0cd419
commit
996e72d4f2
4 changed files with 10 additions and 6 deletions
|
|
@ -67,6 +67,8 @@ export default class DhpMulticlassDialog extends HandlebarsApplicationMixin(Appl
|
|||
this.data.subclass = null;
|
||||
this.data.domain = null;
|
||||
this.subclassChoices = this.data.class ? this.data.class.system.subclasses : [];
|
||||
|
||||
//FIXME
|
||||
this.domainChoices = this.data.class
|
||||
? this.data.class.system.domains.map(x => {
|
||||
const config = SYSTEM.DOMAIN.domains[x];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue