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

6 lines
252 B
JavaScript

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