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

15 lines
378 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.Échoué) {
const SL = Number(Test.result.SL);
this.script.message(`Butcher perd ${SL} dents.`);
}