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

2 lines
182 B
JavaScript
Raw Permalink Normal View History

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