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

5 lines
234 B
JavaScript

let test = await this.actor.setupSkill(game.i18n.localize("NAME.Cool"), {fields : {difficulty : "difficult"}, appendTitle : ` - ${this.effect.name}`})
await test.roll();
if (test.failed) {
this.actor.addCondition("stunned");
}