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

10 lines
564 B
JavaScript

if (args.test.failed)
{
let SL = Number(args.test.result.SL)
if (SL <= -2 && SL > -4)
this.actor.addCondition("stunned")
else if (SL <= -4 && SL > -6)
this.script.message(this.actor.prototypeToken.name + " Doit réaliser un test a <b>FM</b> être @Condition[Prone].")
else if (SL <= -6)
this.actor.addCondition("unconscious")
}