mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
.
This commit is contained in:
parent
07f9d4a9bc
commit
05cc148e91
7 changed files with 77 additions and 2 deletions
|
|
@ -12,6 +12,20 @@ export default class DHFeature extends BaseDataItem {
|
|||
});
|
||||
}
|
||||
|
||||
// /** @inheritDoc */
|
||||
// _initializeSource(data, options={}) {
|
||||
// const { originItemType, isMulticlass } = data;
|
||||
// const base = (originItemType && this.parent?.parent?.type === 'character') ? this.parent.parent.items._source.find(x => x.type === originItemType && Boolean(isMulticlass) === x.system.isMulticlass) : null;
|
||||
// if(base) {
|
||||
// const feature = base.system.features.find(x => x.item && x.item === this.parent.uuid);
|
||||
// if(feature && data.identifier !== 'multiclass') {
|
||||
// data.identifier = feature.type;
|
||||
// }
|
||||
// }
|
||||
|
||||
// return super._initializeSource(data, options);
|
||||
// }
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
||||
/**@override */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue