8 lines
246 B
JavaScript
8 lines
246 B
JavaScript
if (isNaN(parseInt(this.item.system.specification.value)))
|
|
{
|
|
let value = await ValueDialog.create("Saisir le valeur de Grim", this.effect.name);
|
|
if (value)
|
|
{
|
|
this.item.updateSource({"system.specification.value" : value});
|
|
}
|
|
} |