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

4 lines
281 B
JavaScript

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`)
}