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

6 lines
248 B
JavaScript
Raw Permalink Normal View History

2024-06-06 22:07:28 +02:00
if (isNaN(parseInt(this.item.system.specification.value))) {
2024-10-08 20:52:09 +02:00
let value = await ValueDialog.create({title : "Sturdy Value", text : "Enter the Sturdy value"});
2024-06-06 22:07:28 +02:00
if (value) {
this.item.updateSource({"system.specification.value" : value});
}
}