foundryvtt-wh4-lang-fr-fr/reference_scripts/oqgd9G6oI1ncPYLw.js

2 lines
169 B
JavaScript

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