4 lines
216 B
JavaScript
4 lines
216 B
JavaScript
let item = await fromUuid("Compendium.wfrp4e-core.items.GRRN3XAKIpEVCY7z")
|
|
let data = item.toObject();
|
|
data.name += " (A déterminer)"
|
|
this.actor.createEmbeddedDocuments("Item", [data], {fromEffect : this.effect.id}) |