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

8 lines
255 B
JavaScript

if (isNaN(parseInt(this.item.system.specification.value)))
{
let value = await ValueDialog.create({tetx : "Enter Grim value", title : this.effect.name});
if (value)
{
this.item.updateSource({"system.specification.value" : value});
}
}