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

8 lines
220 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
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;
}