Files
foundryvtt-wh4-lang-fr-fr/scripts/yvtF2t9aibxibAIM.js

14 lines
364 B
JavaScript

const test = await this.actor.setupSkill(game.i18n.localize("NAME.Perception"), {
skipTargets: true,
appendTitle: `${this.effect.name}`,
fields: {difficulty: "challenging"},
context: {
failure: `Gain de l'état @Condition[Prone].`,
success: `Capable de bouger.`
}
});
await test.roll();
if (test.failed)
this.actor.addCondition("prone");