mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 10:29:54 +02:00
Improved logic
This commit is contained in:
parent
7fac6e8e82
commit
8c2b114a04
2 changed files with 8 additions and 6 deletions
|
|
@ -44,7 +44,7 @@ export default class DHSummonField extends fields.ArrayField {
|
|||
|
||||
const actor = await getWorldActor(await foundry.utils.fromUuid(summon.actorUUID));
|
||||
/* Extending summon data in memory so it's available in actionField.toChat. Think it's harmless, but ugly. Could maybe find a better way. */
|
||||
summon.actor = actor;
|
||||
summon.actor = actor.toObject();
|
||||
|
||||
const countNumber = Number.parseInt(count);
|
||||
for (let i = 0; i < countNumber; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue