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

4 lines
166 B
JavaScript

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