Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
10
scripts/gull3qgCahzk2xYu.js
Normal file
10
scripts/gull3qgCahzk2xYu.js
Normal file
@@ -0,0 +1,10 @@
|
||||
this.actor.addCondition("fatigued", parseInt(this.effect.sourceTest.result.SL))
|
||||
|
||||
let test = await this.actor.setupSkill("Calme", {fields : {difficulty: "challenging"}, appendTitle : ` - ${this.effect.name}`});
|
||||
|
||||
await test.roll();
|
||||
|
||||
if (test.failed)
|
||||
{
|
||||
this.actor.addCondition("broken");
|
||||
}
|
||||
Reference in New Issue
Block a user