mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 22:46:12 +01:00
Removed action fields on Adversary/Environment in favor of using Feature Items
This commit is contained in:
parent
9d76405221
commit
c3b8def6b1
23 changed files with 274 additions and 433 deletions
|
|
@ -30,8 +30,11 @@ export default class DhEnvironment extends BaseDataActor {
|
|||
adversaries: new ForeignDocumentUUIDArrayField({ type: 'Actor' })
|
||||
})
|
||||
),
|
||||
actions: new fields.ArrayField(new ActionField()),
|
||||
notes: new fields.HTMLField()
|
||||
};
|
||||
}
|
||||
|
||||
get features() {
|
||||
return this.parent.items.filter(x => x.type === 'feature');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue