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

2 lines
173 B
JavaScript
Raw Permalink Normal View History

let lore = this.effect.name.split("(")[1].split(")")[0].toLowerCase();
return !args.spell || (args.type == "cast" && ["petty", lore].includes(args.spell.system.lore.value));