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

3 lines
158 B
JavaScript

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