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

2 lines
168 B
JavaScript

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