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

3 lines
263 B
JavaScript
Raw Normal View History

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