Files
foundryvtt-wh4-lang-fr-fr/scripts/LXEUhHuXe8keEPI9.js
2026-01-29 11:43:28 +01:00

7 lines
285 B
JavaScript

let test = await this.actor.setupCharacteristic("wp", {fields: {difficulty : "average"}, skipTargets: true, appendTitle : ` - ${this.effect.name}`})
await Test.roll();
if (Test.Échoué)
{
let stuns = Math.max(1, Math.abs(Test.result.SL))
this.actor.addCondition("stunned", stuns)
}