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

3 lines
259 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let key = await ItemDialog.create(ItemDialog.objectToArray(game.wfrp4e.config.characteristics, this.effect.img), 1, "Choose Characteristic");
this.effect.updateSource({changes : [{key : `system.characteristics.${key[0].id}.modifier`, mode : 2, value : 10}]})