appel moral sur double significative

Lors d'un appel au moral avcec un facteur de significative recquis,
vérifier la réussite effective (en utitisant la bnonne fraction du
score) pour déterminer la perte de moral
This commit is contained in:
2025-09-05 18:03:28 +02:00
parent bd082248d9
commit cb48c960c2
2 changed files with 4 additions and 1 deletions

View File

@@ -1583,7 +1583,7 @@ export class RdDActor extends RdDBaseActorSang {
return
}
if (rollData.rolled.isEchec ||
(rollData.ajustements.diviseurSignificative && (rollData.rolled.roll * rollData.ajustements.diviseurSignificative > rollData.score))) {
(rollData.diviseurSignificative && (rollData.rolled.roll * rollData.diviseurSignificative > rollData.rolled.score))) {
rollData.perteMoralEchec = rollData.moral <= -3 ? 'dissolution' : 'perte';
rollData.moral = await this.moralIncDec(-1); /* L'appel au moral a échoué. Le personnage perd un point de moral */
}