2 lines
182 B
JavaScript
2 lines
182 B
JavaScript
const talents = await Promise.all(["Intrigant", "Seconde Vue"].map(game.wfrp4e.utility.findTalent))
|
|
this.actor.createEmbeddedDocuments("Item", talents, {fromEffect : this.effect.id}) |