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

3 lines
142 B
JavaScript
Raw Normal View History

2024-06-06 22:07:28 +02:00
let easier = ['challenging', 'average', 'easy', 'veasy'];
if (easier.includes(args.fields.difficulty))
args.fields.difficulty = "difficult";