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

3 lines
236 B
JavaScript
Raw Permalink Normal View History

let injury = await fromUuid("Compendium.wfrp4e-core.items.3S4OYOZLauXctmev")
injury.updateSource({"system.location.key" : this.item.system.location.key})
this.actor.createEmbeddedDocuments("Item", [injury], {fromEffect: this.effect.id})