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

8 lines
249 B
JavaScript
Raw Permalink Normal View History

2024-06-06 22:07:28 +02:00
if (isNaN(parseInt(this.item.system.specification.value)))
{
let value = await ValueDialog.create("Saisir la valeur de Terreur", this.effect.name);
if (value)
{
this.item.updateSource({"system.specification.value" : value});
}
}