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

turned pathfinding effect into a bonus

This commit is contained in:
Henning Koehler
2017-08-26 14:59:24 +12:00
parent c9ef773da0
commit e8c32e05d8
3 changed files with 52 additions and 15 deletions

View File

@@ -217,6 +217,8 @@ const std::shared_ptr<Bonus> CSkillHandler::defaultBonus(SecondarySkill skill, i
switch (skill)
{
case SecondarySkill::PATHFINDING:
bonusVal = 25 * level; break;
case SecondarySkill::ARCHERY:
bonusVal = 5 + 5 * level * level; break;
case SecondarySkill::LOGISTICS: