forked from public/foundryvtt-wh4-lang-fr-fr
Sync to v7.2.0
This commit is contained in:
10
reference_scripts/CS6O7UUjQcUJoOUP.js
Normal file
10
reference_scripts/CS6O7UUjQcUJoOUP.js
Normal file
@ -0,0 +1,10 @@
|
||||
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.scriptMessage(this.actor.prototypeToken.name + " must make a <b>Willpower</b> Test or fall @Condition[Prone].")
|
||||
else if (SL <= -6)
|
||||
this.actor.addCondition("unconscious")
|
||||
}
|
Reference in New Issue
Block a user