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

8 lines
196 B
JavaScript
Raw Normal View History

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
}
}