From feba7e1979751a31ac1cb733f7524bb75dc65747 Mon Sep 17 00:00:00 2001 From: Henning Koehler Date: Sun, 10 Sep 2017 09:26:56 +1200 Subject: [PATCH] tactics distance increased to 1 + bonus (#375) --- config/skills.json | 6 +++--- lib/battle/BattleInfo.cpp | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config/skills.json b/config/skills.json index fff3480d3..3e9258281 100644 --- a/config/skills.json +++ b/config/skills.json @@ -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 } } } }, diff --git a/lib/battle/BattleInfo.cpp b/lib/battle/BattleInfo.cpp index 6f6079e8a..bdadb88b1 100644 --- a/lib/battle/BattleInfo.cpp +++ b/lib/battle/BattleInfo.cpp @@ -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;