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

6 lines
237 B
JavaScript
Raw Normal View History

2024-06-06 22:07:28 +02:00
if (isNaN(parseInt(this.item.system.specification.value))) {
let value = await ValueDialog.create("Valeur d'armure", "Saisir la valeur d'Armure");
if (value) {
this.item.updateSource({"system.specification.value" : value});
}
}