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

8 lines
254 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
if (isNaN(parseInt(this.item.system.specification.value)))
{
2024-10-08 20:52:09 +02:00
let value = await ValueDialog.create({text: "Enter Ward value", title : this.effect.name});
2024-05-16 17:57:51 +02:00
if (value)
{
this.item.updateSource({"system.specification.value" : value});
}
}