diff --git a/module/actor.js b/module/actor.js index 3fb84aa3..f4e3b5a3 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1292,7 +1292,7 @@ export class RdDActor extends Actor { } } else { if (rolled.isETotal) { // Echec total ! - depenseReve = Math.max(myReve.value, Math.floor(depenseReve * 1.5)) + depenseReve = Math.min(myReve.value, Math.floor(depenseReve * 1.5)) explications += "
Echec TOTAL du sort : " + depenseReve + " Points de Rêve"; // TODO: mise en réserve d'un échec total... } else { diff --git a/system.json b/system.json index 73da1492..a4e23bb2 100644 --- a/system.json +++ b/system.json @@ -2,7 +2,7 @@ "name": "foundryvtt-reve-de-dragon", "title": "Rêve de Dragon", "description": "Rêve de Dragon RPG for FoundryVTT", - "version": "1.1.23", + "version": "1.1.24", "minimumCoreVersion": "0.7.5", "compatibleCoreVersion": "0.7.8", "templateVersion": 72,