Add all systems effects scripts + translations
This commit is contained in:
13
reference_scripts/U9xh2wriSqCosugW.js
Normal file
13
reference_scripts/U9xh2wriSqCosugW.js
Normal file
@ -0,0 +1,13 @@
|
||||
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`)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user