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

3 lines
213 B
JavaScript
Raw Normal View History

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