Fix end of lines
This commit is contained in:
parent
3cec04ae8c
commit
35ae4012f6
File diff suppressed because one or more lines are too long
@ -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
|
@ -11,4 +11,4 @@ if (mainEffect.name.includes("(Lore)"))
|
||||
}
|
||||
}
|
||||
|
||||
this.effect.delete();
|
||||
this.effect.delete();
|
@ -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
|
@ -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));
|
@ -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
|
@ -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
|
||||
}
|
||||
}
|
@ -11,4 +11,4 @@ if (mainEffect.name.includes("<Lore>"))
|
||||
}
|
||||
}
|
||||
|
||||
this.effect.delete();
|
||||
this.effect.delete();
|
Loading…
Reference in New Issue
Block a user