Files
wfrp-4e-de/scripts/EQ5dtGW5kQhtAb87.js
2025-05-10 00:11:46 +02:00

7 lines
290 B
JavaScript

await this.actor.addCondition("prone")
let test = await this.actor.setupSkill(game.i18n.localize("NAME.Endurance"), {fields: {difficulty : "hard"}, skipTargets: true, appendTitle : " - " + this.effect.name})
await test.roll();
if (test.failed)
{
await this.actor.addCondition("stunned")
}