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

3 lines
189 B
JavaScript

const uuid = "Compendium.wfrp4e-core.items.Item.JQa5DLnTs2SEzRrc";
const item = await fromUuid(uuid);
await this.actor.createEmbeddedDocuments("Item", [item], {fromEffect: this.effect.id});