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

3 lines
189 B
JavaScript
Raw Normal View History

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