skripte in Ursprungsordner

This commit is contained in:
alzer
2025-05-10 00:11:46 +02:00
parent e5e43dda8a
commit 8015566cce
2979 changed files with 327 additions and 326 deletions
+8
View File
@@ -0,0 +1,8 @@
let lore = this.effect.name.split("(")[1].split(")")[0].toLowerCase();
// If channelling corresponding lore
if (args.type == "channelling" && args.spell.system.lore.value == lore)
args.prefillModifiers.slBonus += 3
// If channelling or casting different lore
else if (args.spell.system.lore.value != lore && args.spell.system.lore.value != "petty")
args.prefillModifiers.slBonus -= 1