issue 547

fixed the bug where the ai "attacks/blocks" its own attackers during the combat phase.
Strangely, creatures only die in this bug when there are two or more suffering from
summoning sickness.

If somebody can double check this code change to make sure that it is appropriate.
My playtesting indicates a success but I don't have the variety of player decks others have.
This commit is contained in:
techdragon.nguyen@gmail.com
2010-12-04 21:26:12 +00:00
parent ba3ca7018b
commit a7675ec216
3 changed files with 1133 additions and 1123 deletions

View File

@@ -59,7 +59,8 @@ protected:
//Variables used by Test suite
MTGCardInstance * nextCardToPlay;
queue<AIAction *> clickstream;
void tapLandsForMana(ManaCost * cost, MTGCardInstance * card = NULL);
bool mFindingAbility;//is Ai currently looking for an activated ability to use?
bool tapLandsForMana(ManaCost * cost, MTGCardInstance * card = NULL);
int orderBlockers();
int combatDamages();
int interruptIfICan();