forked from public/foundryvtt-wh4-lang-fr-fr
Add all systems effects scripts
This commit is contained in:
13
scripts/VzO0ZDcTWvaBn4vm.js
Normal file
13
scripts/VzO0ZDcTWvaBn4vm.js
Normal file
@ -0,0 +1,13 @@
|
||||
if (args.test.preData.skillName?.includes(game.i18n.localize("NAME.Language")) || args.test instanceof CastTest)
|
||||
{
|
||||
if (parseInt(args.test.result.SL) > 0 || args.test.succeeded)
|
||||
{
|
||||
if (parseInt(args.test.result.SL) > 0)
|
||||
{
|
||||
args.test.result.SL = "-0";
|
||||
args.test.result.description = game.i18n.localize("ROLL.MarginalFailure");
|
||||
}
|
||||
args.test.result.outcome = "failure"
|
||||
args.test.result.other.push(`<strong>${this.effect.name}</strong>: Maximum -0 SL`)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user