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

2 lines
170 B
JavaScript

const talents = await Promise.all(["Dur à cuire"].map(game.wfrp4e.utility.findTalent))
this.actor.createEmbeddedDocuments("Item", talents, {fromEffect : this.effect.id})