1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-20 20:23:03 +02:00

tactics distance increased to 1 + bonus (#375)

This commit is contained in:
Henning Koehler 2017-09-10 09:26:56 +12:00 committed by ArseniyShestakov
parent 940c8a0b82
commit feba7e1979
2 changed files with 5 additions and 4 deletions

View File

@ -546,17 +546,17 @@
},
"basic" : {
"effects" : {
"main" : { "val" : 3 }
"main" : { "val" : 2 }
}
},
"advanced" : {
"effects" : {
"main" : { "val" : 5 }
"main" : { "val" : 4 }
}
},
"expert" : {
"effects" : {
"main" : { "val" : 7 }
"main" : { "val" : 6 }
}
}
},

View File

@ -608,7 +608,8 @@ BattleInfo * BattleInfo::setupBattle(int3 tile, ETerrainType terrain, BFieldType
if(tacticsSkillDiff && isTacticsAllowed)
{
curB->tacticsSide = tacticsSkillDiff < 0;
curB->tacticDistance = std::abs(tacticsSkillDiff);
//bonus specifies distance you can move beyond base row; this allows 100% compatibility with HMM3 mechanics
curB->tacticDistance = 1 + std::abs(tacticsSkillDiff);
}
else
curB->tacticDistance = 0;