Corrections
Fix if you have a defender that can attack, it ,must be a possible attacker.
This commit is contained in:
@@ -253,7 +253,9 @@ bool Player::hasPossibleAttackers()
|
||||
for (int j = 0; j < nbcards; ++j)
|
||||
{
|
||||
MTGCardInstance * c = z->cards[j];
|
||||
if (c->canAttack())
|
||||
if (!c->isTapped() &&
|
||||
!c->hasSummoningSickness() &&
|
||||
c->isCreature())
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user