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

2 lines
155 B
JavaScript

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