Add all systems effects scripts + translations
This commit is contained in:
8
reference_scripts/BHbFqhJPzZI2txLs.js
Normal file
8
reference_scripts/BHbFqhJPzZI2txLs.js
Normal 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 += 2
|
||||
// If channelling or casting different lore
|
||||
else if (args.spell.system.lore.value != lore && args.spell.system.lore.value != "petty")
|
||||
args.prefillModifiers.slBonus -= 1
|
Reference in New Issue
Block a user