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

3 lines
189 B
JavaScript
Raw Permalink Normal View History

2024-10-08 20:52:09 +02:00
const uuid = "Compendium.wfrp4e-core.items.Item.SfUUdOGjdYpr3KSR";
const item = await fromUuid(uuid);
await this.actor.createEmbeddedDocuments("Item", [item], {fromEffect: this.effect.id});