8 lines
171 B
JavaScript
Raw Normal View History

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