added the stack to countValidTargets()
This commit is contained in:
@@ -909,8 +909,8 @@ int TargetChooser::countValidTargets()
|
|||||||
Player *p = observer->players[i];
|
Player *p = observer->players[i];
|
||||||
if(canTarget(p))
|
if(canTarget(p))
|
||||||
result++;
|
result++;
|
||||||
MTGGameZone * zones[] = { p->game->inPlay, p->game->graveyard, p->game->hand, p->game->library, p->game->exile };
|
MTGGameZone * zones[] = { p->game->inPlay, p->game->graveyard, p->game->hand, p->game->library, p->game->exile, p->game->stack };
|
||||||
for (int k = 0; k < 5; k++)
|
for (int k = 0; k < 6; k++)
|
||||||
{
|
{
|
||||||
MTGGameZone * z = zones[k];
|
MTGGameZone * z = zones[k];
|
||||||
if (targetsZone(z))
|
if (targetsZone(z))
|
||||||
|
|||||||
Reference in New Issue
Block a user