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

handycap percent

This commit is contained in:
Laserlicht
2024-07-16 03:24:12 +02:00
parent 48eacbf830
commit 832e1531fc
9 changed files with 27 additions and 20 deletions

View File

@@ -394,7 +394,7 @@ void CGameState::initDifficulty()
//handicap
const PlayerSettings &ps = scenarioOps->getIthPlayersSettings(state.color);
state.resources += ps.handicap;
state.resources += ps.handicap.startBonus;
//set global bonuses
for(auto & jsonBonus : json["globalBonuses"].Vector())