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

2 lines
186 B
JavaScript
Raw Normal View History

const talents = await Promise.all(["Assaut féroce", "Pied marin"].map(game.wfrp4e.utility.findTalent))
2024-05-16 17:57:51 +02:00
this.actor.createEmbeddedDocuments("Item", talents, {fromEffect : this.effect.id})