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

8 lines
301 B
JavaScript

if (isNaN(parseInt(this.item.system.specification.value)))
{
let value = await ValueDialog.create("Saisir la force du Venin", this.effect.name, "", Object.values(game.wfrp4e.config.difficultyNames));
if (value)
{
this.item.updateSource({"system.specification.value" : value});
}
}