Marking up the places that need changing for bug #1160

This commit is contained in:
nsalyzyn 2025-12-19 07:34:46 -07:00
parent 05dec9fcea
commit 12d6b7fa4c
3 changed files with 3 additions and 0 deletions

View file

@ -451,6 +451,7 @@ export default class DhCharacter extends BaseDataActor {
} else if (item.system.originItemType === CONFIG.DH.ITEM.featureTypes.class.id) {
classFeatures.push(item);
} else if (item.system.originItemType === CONFIG.DH.ITEM.featureTypes.subclass.id) {
// TODO(nsalyzyn): Reuse this code for elsewhere
if (this.class.subclass) {
const prop = item.system.multiclassOrigin ? 'multiclass' : 'class';
const subclassState = this[prop].subclass?.system?.featureState;