This commit is contained in:
WBHarry 2026-01-15 15:05:04 +01:00
parent 8ebaf7672f
commit 11d4705539

View file

@ -276,7 +276,7 @@ export default class DHBaseAction extends ActionMixin(foundry.abstract.DataModel
if (actor)
return Array.from(await actor.allApplicableEffects()).filter(effect => {
/* Effects on weapons only ever apply for the weapon itself */
if (effect.parent.type === 'weapon' && effectparent?.id !== effect.parent.id) return false;
if (effect.parent.type === 'weapon' && effectParent?.id !== effect.parent.id) return false;
return !effect.isSuppressed;
});