foundryvtt-wh4-lang-fr-fr/scripts/8WeYU5e5LN9UeWFs.js

8 lines
196 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.Range)
if (Number.isNumeric(range))
{
args.item.system.range.value = "2 * " + args.item.system.range.value
}
}