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

8 lines
383 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
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, "Choisir une caractéristique");
2024-05-16 17:57:51 +02:00
this.effect.updateSource({"flags.wfrp4e.characteristic" : choice[0].id})