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
|
2024-05-17 12:46:44 +02:00
|
|
|
}, 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})
|