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

6 lines
231 B
JavaScript
Raw Normal View History

2024-06-06 21:09:27 +02:00
if (isNaN(parseInt(this.item.system.specification.value))) {
let value = await ValueDialog.create("Sturdy Value", "Enter the Sturdy value");
if (value) {
this.item.updateSource({"system.specification.value" : value});
}
}