Fix end of lines

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

File diff suppressed because one or more lines are too long

View File

@ -6,4 +6,4 @@ if (args.type == "channelling" && spellLore == lore)
args.prefillModifiers.slBonus += 2
// If channelling or casting different lore
else if (spellLore != lore && args.spell.system.lore.value != "petty")
args.prefillModifiers.slBonus -= 1
args.prefillModifiers.slBonus -= 1

View File

@ -11,4 +11,4 @@ if (mainEffect.name.includes("(Lore)"))
}
}
this.effect.delete();
this.effect.delete();

View File

@ -6,4 +6,4 @@ if (args.type == "channelling" && spellLore == lore)
args.prefillModifiers.slBonus += 1
// If channelling or casting different lore
else if (spellLore != lore && args.spell.system.lore.value != "petty")
args.prefillModifiers.slBonus -= 1
args.prefillModifiers.slBonus -= 1

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));

View File

@ -6,4 +6,4 @@ if (args.type == "channelling" && spellLore == lore)
args.prefillModifiers.slBonus += 3
// If channelling or casting different lore
else if (spellLore != lore && args.spell.system.lore.value != "petty")
args.prefillModifiers.slBonus -= 1
args.prefillModifiers.slBonus -= 1

View File

@ -2,4 +2,4 @@ let lore = this.effect.name.split(" ")[2].toLowerCase();
if (args.item.type == "spell" && game.wfrp4e.config.magicLores[args.item.system.lore.value].toLowerCase() == lore)
{
args.item.system.cn.value -= 1
}
}

View File

@ -11,4 +11,4 @@ if (mainEffect.name.includes("<Lore>"))
}
}
this.effect.delete();
this.effect.delete();