mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
.
This commit is contained in:
parent
8ebaf7672f
commit
11d4705539
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue