remove attachment only logic in favor of just transfer

This commit is contained in:
psitacus 2025-07-10 22:35:12 -06:00
parent a9e584d619
commit 896f317c6d
4 changed files with 10 additions and 23 deletions

View file

@ -6,12 +6,6 @@ export default class DhActiveEffect extends ActiveEffect {
return false;
}
// First check for attachment-only effects - these should ALWAYS be suppressed on the original item
// They only work through copied versions when attached
if (this.isAttachmentOnly) {
return true;
}
// Then apply the standard suppression rules
if (['weapon', 'armor'].includes(this.parent?.type)) {
return !this.parent.system.equipped;
@ -24,14 +18,6 @@ export default class DhActiveEffect extends ActiveEffect {
return super.isSuppressed;
}
/**
* Check if this effect is marked as attachment-only
* @returns {boolean}
*/
get isAttachmentOnly() {
return this.flags?.daggerheart?.attachmentOnly === true;
}
/**
* Check if the parent item is currently attached to another item
* @returns {boolean}