diff --git a/module/actor.js b/module/actor.js index 49ebc715..2562f131 100644 --- a/module/actor.js +++ b/module/actor.js @@ -980,7 +980,7 @@ export class RdDActor extends Actor { } newValue = Math.max(0, newValue); if (inc>0) { // le max d'endurance s'applique seulement à la récupération - newValue = Math.max(newValue, this._computeEnduranceMax()) + newValue = Math.min(newValue, this._computeEnduranceMax()) } if (data.value - newValue > 1) { this.testSiSonne(sante, newValue); // Peut-être sonné si 2 points d'endurance perdus d'un coup