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

2 lines
169 B
JavaScript
Raw Normal View History

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