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

13 lines
385 B
JavaScript
Raw Normal View History

2024-05-16 17:57:51 +02:00
if (args.test.options.stag)
{
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 DR`)
2024-05-16 17:57:51 +02:00
}
}