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

6 lines
286 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
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})