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

2 lines
167 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let item = await fromUuid("Compendium.wfrp4e-core.items.MVI0lXcg6vvtooAF")
this.actor.createEmbeddedDocuments("Item", [item.toObject()], {fromEffect : this.effect.id})