2024-05-16 17:57:51 +02:00
|
|
|
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"
|
2024-05-17 12:46:44 +02:00
|
|
|
args.test.result.other.push(`<strong>${this.effect.name}</strong>: Maximum -0 DR`)
|
2024-05-16 17:57:51 +02:00
|
|
|
}
|
|
|
|
}
|