5 lines
267 B
JavaScript
5 lines
267 B
JavaScript
let item = await fromUuid("Compendium.wfrp4e-core.items.9GNpAqgsKzxZKJpp")
|
|
let data = item.toObject();
|
|
data.system.specification.value = "Lorsque seul";
|
|
data.effects[0].disabled = true;
|
|
this.actor.createEmbeddedDocuments("Item", [data], {fromEffect : this.effect.id}) |