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

4 lines
166 B
JavaScript
Raw Permalink Normal View History

if (args.item.name == "Magic Resistance" && args.item.type == "trait")
{
args.item.system.specification.value = Number(args.item.system.specification.value) + 1
}