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

13 lines
384 B
JavaScript

if (args.test.item?.system?.attackType == "melee")
{
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 = "Succès marginal";
}
args.Test.result.outcome = "success"
args.test.result.other.push(`<strong>${this.effect.name}</strong>: Minimum +0 SL`)
}
}