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

2 lines
156 B
JavaScript

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