Files
foundryvtt-wh4-lang-fr-fr/scripts/I79D8V8OFzMCtL40.js

2 lines
263 B
JavaScript

const target = await ValueDialog.create({title: "Sélectionnez une Cible", text: "Sélectionnez une Cible pour la Haine"}, "Target");
await this.actor.addEffectItems("Compendium.wfrp4e-core.items.Item.5hH73j2NgPdsLCZN", this.effect, {name: `Hatred (${target})`});