foundryvtt-wh4-lang-fr-fr/reference_scripts/a4Aza4a9v8JMU8dC.js

2 lines
184 B
JavaScript
Raw Permalink Normal View History

const talents = await Promise.all(["Frenzy", "Magic Resistance"].map(game.wfrp4e.utility.findTalent))
this.actor.createEmbeddedDocuments("Item", talents, {fromEffect : this.effect.id})