foundryvtt-wh4-lang-fr-fr/reference_scripts/KPQfupKuaf4LCv4R.js

2 lines
181 B
JavaScript
Raw Permalink Normal View History

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