Corrections sur echec total en sort
This commit is contained in:
parent
d3ede537a8
commit
a8ba245495
@ -1292,7 +1292,7 @@ export class RdDActor extends Actor {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (rolled.isETotal) { // Echec total !
|
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";
|
explications += "<br><strong>Echec TOTAL</strong> du sort : " + depenseReve + " Points de Rêve";
|
||||||
// TODO: mise en réserve d'un échec total...
|
// TODO: mise en réserve d'un échec total...
|
||||||
} else {
|
} else {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "foundryvtt-reve-de-dragon",
|
"name": "foundryvtt-reve-de-dragon",
|
||||||
"title": "Rêve de Dragon",
|
"title": "Rêve de Dragon",
|
||||||
"description": "Rêve de Dragon RPG for FoundryVTT",
|
"description": "Rêve de Dragon RPG for FoundryVTT",
|
||||||
"version": "1.1.23",
|
"version": "1.1.24",
|
||||||
"minimumCoreVersion": "0.7.5",
|
"minimumCoreVersion": "0.7.5",
|
||||||
"compatibleCoreVersion": "0.7.8",
|
"compatibleCoreVersion": "0.7.8",
|
||||||
"templateVersion": 72,
|
"templateVersion": 72,
|
||||||
|
Loading…
Reference in New Issue
Block a user