Explorar o código

AI will not wait to conwuer fort if possible

Tomasz Zieliński %!s(int64=3) %!d(string=hai) anos
pai
achega
6ae3b77d80
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      AI/Nullkiller/Engine/PriorityEvaluator.cpp

+ 1 - 1
AI/Nullkiller/Engine/PriorityEvaluator.cpp

@@ -368,7 +368,7 @@ float RewardEvaluator::getStrategicalValue(const CGObjectInstance * target) cons
 
 		return dynamic_cast<const CGTownInstance *>(target)->hasFort()
 			? (target->tempOwner == PlayerColor::NEUTRAL ? 0.8f : 1.0f)
-			: 0.5f;
+			: 0.7f;
 
 	case Obj::HERO:
 		return ai->cb->getPlayerRelations(target->tempOwner, ai->playerID) == PlayerRelations::ENEMIES