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

2 lines
181 B
JavaScript

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