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

2 lines
169 B
JavaScript
Raw Permalink Normal View History

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