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:
8
scripts/20fvE9nJmcfGYVzw.js
Normal file
8
scripts/20fvE9nJmcfGYVzw.js
Normal file
@@ -0,0 +1,8 @@
|
||||
if ( args.totalWoundLoss > 0 ) {
|
||||
let test = await this.actor.setupSkill(game.i18n.localize("NAME.Résistance"), {difficulty: "average"})
|
||||
await test.roll();
|
||||
if (!test.succeeded)
|
||||
{
|
||||
this.actor.addSystemEffect("gangrene");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user