Skip to content

Commit

Permalink
Tune the bonuses
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-derevenetz committed May 31, 2024
1 parent 05a4961 commit 0633eab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fheroes2/game/difficulty.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ Funds Difficulty::getResourceIncomeBonusForAI( const int difficulty, const VecCa

switch ( difficulty ) {
case Difficulty::HARD:
return getIncomeFromSetsOfResourceMines( Resource::ORE | Resource::WOOD | Resource::GOLD, 1 );
return getIncomeFromSetsOfResourceMines( Resource::GOLD, 1 );
case Difficulty::EXPERT:
return getIncomeFromSetsOfResourceMines( Resource::ORE | Resource::WOOD | Resource::GOLD, 1 ) + getBonusForCastles();
return getIncomeFromSetsOfResourceMines( Resource::GOLD, 1 ) + getBonusForCastles();
case Difficulty::IMPOSSIBLE:
return getIncomeFromSetsOfResourceMines( Resource::ALL, 1 ) + getBonusForCastles();
return getIncomeFromSetsOfResourceMines( Resource::GOLD, 2 ) + getBonusForCastles();
default:
break;
}
Expand Down

0 comments on commit 0633eab

Please sign in to comment.