This commit is contained in:
WBHarry 2026-06-23 23:28:04 +02:00 committed by GitHub
parent 07b7c82094
commit ca82cbcf66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,7 +46,9 @@ export default class DhpCombat extends Combat {
for (let actor of actors) {
await actor.createEmbeddedDocuments(
'ActiveEffect',
effects.filter(x => x.effectTargetTypes.includes(actor.type))
effects
.filter(x => x.effectTargetTypes.includes(actor.type))
.map(x => foundry.utils.deepClone(x))
);
}
} else {