foundryvtt-wh4-lang-fr-fr/scripts/5Zxc13GBaJaxCf48.js

6 lines
129 B
JavaScript

const visor = this.item.getFlag('wfrp4e', 'visor');
if (!visor)
args.fields.modifier -= 10;
else
args.fields.modifier -= 20;