1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Merge pull request #2773 from wb180/blindedStackMoraleFix

Blinded stack should not be able to get morale
This commit is contained in:
Ivan Savenko
2023-09-07 10:54:51 +03:00
committed by GitHub

View File

@ -483,6 +483,7 @@ bool BattleFlowProcessor::rollGoodMorale(const CBattleInfoCallback & battle, con
&& !next->waited()
&& !next->fear
&& next->alive()
&& next->canMove()
&& nextStackMorale > 0)
{
auto diceSize = VLC->settings()->getVector(EGameSettings::COMBAT_GOOD_MORALE_DICE);