Files
wfrp-4e-de/reference_scripts/LXEUhHuXe8keEPI9.js
T
2025-05-10 00:11:46 +02:00

7 lines
283 B
JavaScript

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