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

13 lines
392 B
JavaScript
Raw Permalink Normal View History

if (args.test.options.wallcrawler)
{
if (parseInt(args.test.result.SL) < 0 || args.test.failed)
{
if (parseInt(args.test.result.SL) < 0)
{
args.test.result.SL = "+0";
args.test.result.description = game.i18n.localize("ROLL.MarginalSuccess");
}
args.test.result.outcome = "success"
args.test.result.other.push(`<strong>${this.effect.name}</strong>: Minimum +0 SL`)
}
}