mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
. (#2041)
This commit is contained in:
parent
07b7c82094
commit
ca82cbcf66
1 changed files with 3 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue