mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
Fixes links upon being embedded
This commit is contained in:
parent
df8b96e9bc
commit
b1aca218c2
3 changed files with 64 additions and 14 deletions
|
|
@ -359,7 +359,7 @@ export default class DhCharacter extends BaseDataActor {
|
|||
classFeatures.push(item);
|
||||
} else if (item.system.originItemType === CONFIG.DH.ITEM.featureTypes.subclass.id) {
|
||||
const subclassState = this.class.subclass.system.featureState;
|
||||
const subType = item.system.subType;
|
||||
const subType = item.system.itemLinks[this.class.subclass.uuid];
|
||||
if (
|
||||
subType === CONFIG.DH.ITEM.itemLinkFeatureTypes.foundation ||
|
||||
(subType === CONFIG.DH.ITEM.itemLinkFeatureTypes.specialization && subclassState >= 2) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue