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

2 lines
173 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
let lore = this.effect.name.split("(")[1].split(")")[0].toLowerCase();
return !args.spell || (args.type == "cast" && ["petty", lore].includes(args.spell.system.lore.value));