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

8 lines
172 B
JavaScript

if (["ag", "i", "int"].includes(args.characteristic))
{
args.fields.modifier -= 10;
}
else if (["wp"].includes(args.characteristic))
{
args.fields.modifier += 10;
}