9 lines
282 B
JavaScript
9 lines
282 B
JavaScript
this.actor.addCondition("stunned");
|
|
let test = await this.actor.setupSkill(game.i18n.localize("NAME.Endurance"), {appendTitle: ` - ${this.effect.name}`, skipTargets: true, fields: {difficulty: "vhard"}});
|
|
|
|
await test.roll();
|
|
|
|
if (test.failed)
|
|
{
|
|
this.actor.addCondition("prone");
|
|
} |