Files
foundryvtt-wh4-lang-fr-fr/scripts/uACa6u4JLNMRgFlr.js
T
2026-02-26 21:53:55 +01:00

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})