forcing Ai to attack with creature that have "treason" ( the ability that sacrifices cards like ball lightining at end of turn)

since the creature is going to die anyways, might as well send it in and see if it can kill something.

and yes i consider ai being THAT stupid a bug :P
This commit is contained in:
omegablast2002@yahoo.com
2010-12-02 18:43:39 +00:00
parent 2a4b0e28f0
commit 08b6779d59

View File

@@ -1014,6 +1014,8 @@ int MTGAttackRule::receiveEvent(WEvent *e)
{
MTGCardInstance * card = z->cards[i];
if (!card->isAttacker() && card->has(Constants::MUSTATTACK))
reactToClick(card);
if (!card->isAttacker() && card->has(Constants::TREASON) && p->isAI())
reactToClick(card);
if (card->isAttacker() && card->isTapped())
card->setAttacker(0);