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

3 lines
236 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
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})