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

8 lines
236 B
JavaScript

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