1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Blinded stack should not be able to get morale

This commit is contained in:
Evgeniy Meshcheryakov 2023-09-06 12:40:05 +03:00
parent ecf9b1aa2f
commit e9c2d4e857

View File

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