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

2 lines
230 B
JavaScript

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