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

2 lines
161 B
JavaScript

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