Files
foundryvtt-wh4-lang-fr-fr/scripts/2Ej6LUqn8frTRURo.js

6 lines
187 B
JavaScript

let test = await this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {difficulty: "hard"})
await test.roll();
if (!test.succeeded)
{
await this.actor.addCondition("unconscious");
}