Files
wfrp-4e-de/scripts/gMIenSmLklAkB2Zm.js
T
2025-05-10 00:11:46 +02:00

8 lines
314 B
JavaScript

if (isNaN(parseInt(this.item.system.specification.value)))
{
let value = await ValueDialog.create({text : "Enter Venom Strength", title : this.effect.name}, "", Object.values(game.wfrp4e.config.difficultyNames));
if (value)
{
this.item.updateSource({"system.specification.value" : value});
}
}