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

8 lines
238 B
JavaScript
Raw Normal View History

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