foundryvtt-wh4-lang-fr-fr/scripts/VbL0TgaBAmYjrezZ.js

2 lines
163 B
JavaScript

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