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

2 lines
224 B
JavaScript

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