foundryvtt-wh4-lang-fr-fr/scripts/M0eOB2Jg9KzcN1gz.js

7 lines
327 B
JavaScript
Raw Permalink Normal View History

2024-10-08 20:52:09 +02:00
const uuids = [
"Compendium.wfrp4e-core.items.Item.Nj3tC8A5fZ3zEdMR", // Holy Visions
"Compendium.wfrp4e-core.items.Item.mNoCuaVbFBflfO6X", // Sixth Sense
];
const items = await Promise.all(uuids.map(uuid => fromUuid(uuid)));
await this.actor.createEmbeddedDocuments("Item", items, {fromEffect: this.effect.id});