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

3 lines
189 B
JavaScript

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