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

2 lines
181 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
const talents = await Promise.all(["Schemer", "Second Sight"].map(game.wfrp4e.utility.findTalent))
this.actor.createEmbeddedDocuments("Item", talents, {fromEffect : this.effect.id})