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

6 lines
286 B
JavaScript
Raw Normal View History

let choice = await ItemDialog.create(ItemDialog.objectToArray({
int : game.wfrp4e.config.characteristics.int,
fel : game.wfrp4e.config.characteristics.fel
}, this.effect.img), 1, "Choose Characteristic");
this.effect.updateSource({"flags.wfrp4e.characteristic" : choice[0].id})