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:
parent
940c8a0b82
commit
feba7e1979
@ -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 }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user