From f2873c5c81871b690484f1b927497286c30208d1 Mon Sep 17 00:00:00 2001 From: cosmo Date: Sun, 26 Apr 2026 18:03:36 +0200 Subject: [PATCH] clone bonded and augmented features with actor parent to enable correct action execution --- scripts/ikonis-data.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/ikonis-data.js b/scripts/ikonis-data.js index 5ed0a4c..5ee93f6 100644 --- a/scripts/ikonis-data.js +++ b/scripts/ikonis-data.js @@ -159,7 +159,9 @@ export function patchDhCharacter(DhCharacter) { if (bondedUuid) { const feature = _featureCache.get(bondedUuid) || fromUuidSync(bondedUuid); if (feature) { - ikonisFeatures.push(feature); + // Clone with actor as parent so actions work + const featureClone = feature.clone({ parent: this.parent }, { keepId: true }); + ikonisFeatures.push(featureClone); console.log(`DH-Ikonis | Resolved bonded feature: ${feature.name}`); } } @@ -175,7 +177,9 @@ export function patchDhCharacter(DhCharacter) { const feature = _featureCache.get(aug.featureUuid) || fromUuidSync(aug.featureUuid); if (feature) { - ikonisFeatures.push(feature); + // Clone with actor as parent so actions work + const featureClone = feature.clone({ parent: this.parent }, { keepId: true }); + ikonisFeatures.push(featureClone); console.log(`DH-Ikonis | Resolved augment feature: ${feature.name}`); } }