forked from public/foundryvtt-reve-de-dragon
Corrections sur echec total en sort
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user