diff --git a/AI/Nullkiller/Behaviors/DefenceBehavior.cpp b/AI/Nullkiller/Behaviors/DefenceBehavior.cpp index 7b99df87c..df13141b3 100644 --- a/AI/Nullkiller/Behaviors/DefenceBehavior.cpp +++ b/AI/Nullkiller/Behaviors/DefenceBehavior.cpp @@ -211,7 +211,7 @@ void DefenceBehavior::evaluateDefence(Goals::TGoalVec & tasks, const CGTownInsta if(path.turn() <= treat.turn - 2) { #if NKAI_TRACE_LEVEL >= 1 - logAi->trace("Deffer defence of %s by %s because he has enough time to rich the town next trun", + logAi->trace("Defer defence of %s by %s because he has enough time to reach the town next trun", town->name, path.targetHero->name); #endif diff --git a/AI/Nullkiller/Goals/ExecuteHeroChain.cpp b/AI/Nullkiller/Goals/ExecuteHeroChain.cpp index 9f1839bf8..67f8a984f 100644 --- a/AI/Nullkiller/Goals/ExecuteHeroChain.cpp +++ b/AI/Nullkiller/Goals/ExecuteHeroChain.cpp @@ -161,7 +161,7 @@ void ExecuteHeroChain::accept(AIGateway * ai) if(node.turns == 0) { logAi->error( - "Enable to complete chain. Expected hero %s to arive to %s but he is at %s", + "Unable to complete chain. Expected hero %s to arive to %s but he is at %s", hero->getNameTranslated(), node.coord.toString(), hero->visitablePos().toString()); @@ -169,7 +169,7 @@ void ExecuteHeroChain::accept(AIGateway * ai) return; } - // no exception means we were not able to rich the tile + // no exception means we were not able to reach the tile ai->nullkiller->lockHero(hero, HeroLockedReason::HERO_CHAIN); blockedIndexes.insert(node.parentIndex); } @@ -177,7 +177,7 @@ void ExecuteHeroChain::accept(AIGateway * ai) { if(!heroPtr.validAndSet()) { - logAi->debug("Hero %s was killed while attempting to rich %s", heroPtr.name, node.coord.toString()); + logAi->debug("Hero %s was killed while attempting to reach %s", heroPtr.name, node.coord.toString()); return; }