2 things, moved poison count wingame to the top with the life, there were cases where it wasnt respecting "cantlose" cards. and 2nd gave Ai *some* direction as to what to do with poison counters. i saw him place poison counters on himself to death in a single round...its was embarrassing.
This commit is contained in:
@@ -416,7 +416,7 @@ void GameObserver::gameStateBasedEffects()
|
||||
///////////////////////////////////////////////////////////
|
||||
//life checks/poison checks also checks cant win or lose.//
|
||||
///////////////////////////////////////////////////////////
|
||||
if (players[i]->life <= 0)
|
||||
if (players[i]->life <= 0 || players[i]->poisonCount >= 10)
|
||||
{
|
||||
int cantlosers = 0;
|
||||
MTGGameZone * z = players[i]->game->inPlay;
|
||||
@@ -443,10 +443,6 @@ void GameObserver::gameStateBasedEffects()
|
||||
{
|
||||
gameOver = players[i];
|
||||
}
|
||||
if (players[i]->poisonCount >= 10)
|
||||
{
|
||||
gameOver = players[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
//////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user