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

3 lines
142 B
JavaScript
Raw Permalink Normal View History

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