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

8 lines
205 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
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
}
}