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

13 lines
473 B
JavaScript
Raw Permalink Normal View History

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