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

2 lines
168 B
JavaScript
Raw Permalink Normal View History

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