Fix end of lines

This commit is contained in:
2024-06-08 01:45:05 +02:00
parent 3cec04ae8c
commit 35ae4012f6
8 changed files with 8 additions and 8 deletions

View File

@ -1,3 +1,3 @@
let lore = this.effect.name.split("(")[1].split(")")[0].toLowerCase();
let spellLore = game.wfrp4e.config.magicLores[args.spell.system.lore.value].toLowerCase();
return !args.spell || (args.type == "cast" && [game.wfrp4e.config.magicLores["petty"].toLowerCase(), lore].includes(spellLore));
return !args.spell || (args.type == "cast" && [game.wfrp4e.config.magicLores["petty"].toLowerCase(), lore].includes(spellLore));