1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

vcmi: remove BLOCKS_MORALE bonus

To block morale, just set INDEPENDENT_MAX and INDEPENDENT_MIN
to 0, there is no need for separate bonus.
This commit is contained in:
Konstantin
2023-03-09 11:59:38 +03:00
parent ba2a35464a
commit c07e74250b
4 changed files with 4 additions and 12 deletions

View File

@@ -393,7 +393,6 @@ void MoraleLuckBox::set(const IBonusBearer * node)
boost::algorithm::replace_first(text,"%s",CGI->generaltexth->arraytxt[neutralDescr[morale]-mrlt]);
if (morale && node && (node->hasBonusOfType(Bonus::UNDEAD)
|| node->hasBonusOfType(Bonus::BLOCK_MORALE)
|| node->hasBonusOfType(Bonus::NON_LIVING)))
{
text += CGI->generaltexth->arraytxt[113]; //unaffected by morale