Nombreuses corections de scripts...
This commit is contained in:
@@ -10,12 +10,12 @@ const test = await this.actor.setupSkill(game.i18n.localize("NAME.Résistance"),
|
||||
}
|
||||
});
|
||||
|
||||
await Test.roll();
|
||||
await test.roll();
|
||||
|
||||
if (Test.Échoué) {
|
||||
if (test.failed) {
|
||||
await this.actor.addEffectItems(bloodyFluxUUID, this.effet);
|
||||
} else {
|
||||
const SL = Test.result.SL;
|
||||
const SL = test.result.SL;
|
||||
const heal = 1 + SL;
|
||||
await this.actor.modifyWounds(heal);
|
||||
this.script.message(`Butcher a soigné ${heal} Blessures.`);
|
||||
|
||||
Reference in New Issue
Block a user