forgot we dont want hard to get this boost.

This commit is contained in:
omegablast2002@yahoo.com
2011-02-06 15:21:20 +00:00
parent 9d728ea0dd
commit bfd0d24d8d
+4 -3
View File
@@ -197,13 +197,14 @@ void Rules::addExtraRules()
{ {
if (((p->isAI() && p->playMode if (((p->isAI() && p->playMode
!= Player::MODE_AI && p->opponent()->playMode != Player::MODE_AI && p->opponent()->playMode
!= Player::MODE_AI)||( !p->isAI() && Optimizedhandcheat)) && a->aType == MTGAbility::STANDARD_DRAW && p->playMode != Player::MODE_AI)||( !p->isAI() && Optimizedhandcheat)) && a->aType == MTGAbility::STANDARD_DRAW &&
difficultyRating == HARD && p->playMode
!= Player::MODE_TEST_SUITE && g->mRules->gamemode != GAME_TYPE_MOMIR && g->mRules->gamemode != Player::MODE_TEST_SUITE && g->mRules->gamemode != GAME_TYPE_MOMIR && g->mRules->gamemode
!= GAME_TYPE_RANDOM1 && g->mRules->gamemode != GAME_TYPE_RANDOM2 && g->mRules->gamemode != GAME_TYPE_RANDOM1 && g->mRules->gamemode != GAME_TYPE_RANDOM2 && g->mRules->gamemode
!= GAME_TYPE_STORY)//stupid protections to keep this out of mimor and other game modes. != GAME_TYPE_STORY)//stupid protections to keep this out of mimor and other game modes.
{ {
handsize = ((AADrawer *)a)->getNumCards(); handsize = ((AADrawer *)a)->getNumCards();
if(difficultyRating == EASY ) if(difficultyRating == EASY)
{ {
((AIPlayer *) p)->forceBestAbilityUse = true; ((AIPlayer *) p)->forceBestAbilityUse = true;
((AIPlayer *) p)->agressivity += 100; ((AIPlayer *) p)->agressivity += 100;
@@ -215,7 +216,7 @@ void Rules::addExtraRules()
} }
else else
{ {
hand->OptimizedHand(p,handsize, 3, 1, 3); hand->OptimizedHand(p,handsize, 3, 1, 3);//no rating fall out case.
} }
} }
else else