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

8 lines
205 B
JavaScript

if (args.item.type == "spell")
{
let range = parseInt(args.item.Duration)
if (Number.isNumeric(range))
{
args.item.system.duration.value = "2 * " + args.item.system.duration.value
}
}