Changed so that Feature(Item) has a primary field

This commit is contained in:
WBHarry 2025-07-11 13:37:07 +02:00
parent 34ae1f56f6
commit e9967a27ca
7 changed files with 29 additions and 32 deletions

View file

@ -503,8 +503,6 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl
const secondaryAncestryFeature = this.setup.secondaryAncestry?.uuid
? this.setup.secondaryAncestry.system.secondaryFeature
: this.setup.primaryAncestry.system.secondaryFeature;
// const primaryFeature = await this.character.createEmbeddedDocuments('Item', [primaryAncestryFeature]);
// const secondaryFeature = await this.character.createEmbeddedDocuments('Item', [secondaryAncestryFeature]);
const ancestry = {
...this.setup.primaryAncestry,