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

6 lines
235 B
JavaScript

if (isNaN(parseInt(this.item.system.specification.value))) {
let value = await ValueDialog.create("Armoured Value", "Enter the Armoured value");
if (value) {
this.item.updateSource({"system.specification.value" : value});
}
}