Corrections sur echec total en sort

This commit is contained in:
sladecraven 2020-12-30 11:51:37 +01:00
parent d3ede537a8
commit a8ba245495
2 changed files with 2 additions and 2 deletions

View File

@ -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 += "<br><strong>Echec TOTAL</strong> du sort : " + depenseReve + " Points de Rêve";
// TODO: mise en réserve d'un échec total...
} else {

View File

@ -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,