Files
foundryvtt-wh4-lang-fr-fr/scripts/Wo4wQKUxSItAhRzZ.js
T
uberwald 38d88c2f19
Validation JSON / validate (push) Successful in 13s
Mise àjour vers 9.6.0
2026-05-18 07:23:40 +02:00

8 lines
374 B
JavaScript

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.fields.slBonus += 3
// If channelling or casting different lore
else if (args.spell.system.lore.value != lore && args.spell.system.lore.value != "petty")
args.fields.slBonus -= 1