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

15 lines
376 B
JavaScript

const test = await this.actor.setupSkill(game.i18n.localize("NAME.Résistance"), {
skipTargets: true,
appendTitle: `${this.effect.name}`,
fields: {difficulty: "challenging"},
context: {
failure: `Butcher perd des dents.`
}
});
await test.roll();
if (test.failed) {
const SL = Number(test.result.SL);
this.script.message(`Butcher perd ${SL} dents.`);
}