fixed a bug with alwaysattack hint, if there was an attack readied it would undo it by clicking it the second time.

This commit is contained in:
omegablast2002@yahoo.com
2013-04-07 17:30:48 +00:00
parent 1bea0736a5
commit 49b6b028c5

View File

@@ -2240,7 +2240,8 @@ int AIPlayerBaka::chooseAttackers()
{
if(hints && hints->HintSaysDontAttack(observer,card))
continue;
observer->cardClick(card, MTGAbility::MTG_ATTACK_RULE);
if(!card->isAttacker())
observer->cardClick(card, MTGAbility::MTG_ATTACK_RULE);
}
}
return 1;