4 lines
218 B
JavaScript
4 lines
218 B
JavaScript
let item = await fromUuid("Compendium.wfrp4e-core.items.9h82z72XGo9tfgQS")
|
|
let data = item.toObject();
|
|
data.name = data.name += " (Vue)"
|
|
this.actor.createEmbeddedDocuments("Item", [data], {fromEffect : this.effect.id}) |