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

8 lines
376 B
JavaScript
Raw Normal View History

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