This commit is contained in:
WBHarry 2025-07-29 02:07:18 +02:00
parent e22d086990
commit 6b98c19742
3 changed files with 28 additions and 4 deletions

View file

@ -141,6 +141,10 @@ export default class DHWeapon extends AttachableItem {
description: game.i18n.localize(effect.description)
}))
);
weaponFeature.effectIds = [
...(weaponFeature.effectIds ?? []),
...embeddedEffects.map(x => x.id)
];
const cls = game.system.api.models.actions.actionsTypes[action.type];
const actionId = foundry.utils.randomID();