forked from public/foundryvtt-wh4-lang-fr-fr
Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
13
scripts/UxVfVoH7cbC9ESDr.js
Normal file
13
scripts/UxVfVoH7cbC9ESDr.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const test = await args.actor.setupSkill(game.i18n.localize("NAME.Cool"), {
|
||||
skipTargets: true,
|
||||
appendTitle: ` — ${this.effect.name}`,
|
||||
fields: {difficulty: "challenging"},
|
||||
context: {
|
||||
failure: `Gain d'1 état @Condition[Stunned].`
|
||||
}
|
||||
});
|
||||
|
||||
await test.roll();
|
||||
|
||||
if (test.failed)
|
||||
args.actor.addCondition("stunned");
|
||||
Reference in New Issue
Block a user