Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
15
scripts/TIoUbjOtj7PTK2t8.js
Normal file
15
scripts/TIoUbjOtj7PTK2t8.js
Normal file
@@ -0,0 +1,15 @@
|
||||
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.`);
|
||||
}
|
||||
Reference in New Issue
Block a user