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

2 lines
239 B
JavaScript

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