mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-08 00:39:47 +02:00
tactics distance increased to 1 + bonus (#375)
This commit is contained in:
parent
940c8a0b82
commit
feba7e1979
@ -546,17 +546,17 @@
|
|||||||
},
|
},
|
||||||
"basic" : {
|
"basic" : {
|
||||||
"effects" : {
|
"effects" : {
|
||||||
"main" : { "val" : 3 }
|
"main" : { "val" : 2 }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"advanced" : {
|
"advanced" : {
|
||||||
"effects" : {
|
"effects" : {
|
||||||
"main" : { "val" : 5 }
|
"main" : { "val" : 4 }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"expert" : {
|
"expert" : {
|
||||||
"effects" : {
|
"effects" : {
|
||||||
"main" : { "val" : 7 }
|
"main" : { "val" : 6 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -608,7 +608,8 @@ BattleInfo * BattleInfo::setupBattle(int3 tile, ETerrainType terrain, BFieldType
|
|||||||
if(tacticsSkillDiff && isTacticsAllowed)
|
if(tacticsSkillDiff && isTacticsAllowed)
|
||||||
{
|
{
|
||||||
curB->tacticsSide = tacticsSkillDiff < 0;
|
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
|
else
|
||||||
curB->tacticDistance = 0;
|
curB->tacticDistance = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user