Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
13
scripts/jvNuIbOtB46p0esq.js
Normal file
13
scripts/jvNuIbOtB46p0esq.js
Normal file
@@ -0,0 +1,13 @@
|
||||
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`)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user