浏览代码

AI now performs almost all basic operations.
-builds buildings
-recruits creatures/heroes
-upgrades creatures
-moves heroes to random destinations.
-passes units to heroes/upgrades heroes' units
-attacks weaker parties
-and more.

Trevor Standley 16 年之前
父节点
当前提交
184676d7c4
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      AI/GeniusAI/CGeniusAI.cpp

+ 1 - 0
AI/GeniusAI/CGeniusAI.cpp

@@ -506,6 +506,7 @@ void CGeniusAI::TownObjective::fulfill(CGeniusAI & cg,HypotheticalGameState &hgs
 		
 		
 		whichTown->hasBuilt=true;
 		whichTown->hasBuilt=true;
 		break;
 		break;
+
 	case recruitCreatures:
 	case recruitCreatures:
 		ID = whichTown->creaturesToRecruit[which].second.back();				//buy upgraded if possible
 		ID = whichTown->creaturesToRecruit[which].second.back();				//buy upgraded if possible
 		creature = &VLC->creh->creatures[ID];
 		creature = &VLC->creh->creatures[ID];