foundryvtt-wh4-lang-fr-fr/reference_scripts/EQ5dtGW5kQhtAb87.js

7 lines
290 B
JavaScript
Raw Permalink Normal View History

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")
}