Bläddra i källkod

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 år sedan
förälder
incheckning
184676d7c4
1 ändrade filer med 1 tillägg och 0 borttagningar
  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;
 		break;
+
 	case recruitCreatures:
 		ID = whichTown->creaturesToRecruit[which].second.back();				//buy upgraded if possible
 		creature = &VLC->creh->creatures[ID];