ai vs ai matchs will play with optimizedhands.

This commit is contained in:
omegablast2002@yahoo.com
2013-03-01 23:10:16 +00:00
parent ef18f376b1
commit 04dce1ad50
2 changed files with 11 additions and 9 deletions
+1 -5
View File
@@ -125,10 +125,7 @@ void MTGPlayerCards::OptimizedHand(Player * who,int amount, int lands, int creat
{
//give the Ai hand adventage to insure a challanging match.
GameObserver * game = who->getObserver();
if (!game->players[0]->isAI() && game->players[1]->isAI())
{
Player * p = who;
Player * p = dynamic_cast<Player*>(who);
MTGCardInstance * card = NULL;
MTGGameZone * z = p->game->library;
@@ -208,7 +205,6 @@ void MTGPlayerCards::OptimizedHand(Player * who,int amount, int lands, int creat
}
//----------------------------
}
void MTGPlayerCards::drawFromLibrary()
{