foundryvtt-wh4-lang-fr-fr/reference_scripts/lOzkngzye4RmvALp.js

3 lines
210 B
JavaScript
Raw Normal View History

let item = await fromUuid("Compendium.wfrp4e-core.items.DrNUTPeodEgpWTnT")
this.actor.createEmbeddedDocuments("Item", [item], {fromEffect : this.effect.id});
this.script.scriptNotification("Added " + item.name)