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

5 lines
259 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
fromUuid("Compendium.wfrp4e-core.items.EO05HX7jql0g605A").then(item => {
item = item.toObject()
item.system.specification.value = this.actor.characteristics.ag.value
this.actor.createEmbeddedDocuments("Item", [item], {fromEffect : this.effect.id})
})