foundryvtt-wh4-lang-fr-fr/reference_scripts/5lc1eHIYQNpSRWip.js

8 lines
220 B
JavaScript
Raw Normal View History

if (["death", "necromancy"].includes(args.spell?.system.lore.value))
{
args.fields.successBonus += 1
}
else if(["life", "light", "heavens"].includes(args.spell?.system.lore.value))
{
args.fields.modifier -= 10;
}