Files
foundryvtt-wh4-lang-fr-fr/scripts/gPt4hUnaNqE5rVYF.js

14 lines
417 B
JavaScript

if (args.test.isCriticalFumble && !args.test.spell)
{
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>: Automatic Failure`)
}
}