13 lines
385 B
JavaScript
13 lines
385 B
JavaScript
|
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 SL`)
|
||
|
}
|
||
|
}
|