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

made diplomacy join chance bonus-based

This commit is contained in:
Henning Koehler
2017-08-28 23:33:19 +12:00
parent 69a538a600
commit 9b3c61616f
3 changed files with 23 additions and 3 deletions

View File

@@ -234,6 +234,7 @@ std::vector<std::shared_ptr<Bonus>> CSkillHandler::defaultBonus(SecondarySkill s
case SecondarySkill::SCOUTING:
addBonus(level, Bonus::SIGHT_RADIOUS); break;
case SecondarySkill::DIPLOMACY:
addBonus(level);
addBonus(20 * level, Bonus::SURRENDER_DISCOUNT); break;
case SecondarySkill::NAVIGATION:
addBonus(50 * level); break;