3 lines
263 B
JavaScript
3 lines
263 B
JavaScript
let key = await ItemDialog.create(ItemDialog.objectToArray(game.wfrp4e.config.characteristics, this.effect.img), 1, "Choisissez Characteristic");
|
|
|
|
this.effect.updateSource({changes : [{key : `system.characteristics.${key[0].id}.modifier`, mode : 2, value : 10}]}) |