foundryvtt-wh4-lang-fr-fr/scripts/e34s1XxHckAWfwHt.js

4 lines
281 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
if (args.test.options.beatBlade && (args.test.result.roll <= game.settings.get("wfrp4e", "automaticSuccess") || args.test.result.roll <= args.test.target))
{
args.test.result.other.push(`<b>${this.effect.name}</b>: Opponent loses ${Number(args.test.result.SL) + 1} Advantage`)
}