added nolegend ability. this doesn't remove legend rule, it only makes a card thas has nolegend ability excluded from check.

This commit is contained in:
anthonycalosa@gmail.com
2013-01-07 06:46:56 +00:00
parent e2be750780
commit 510a8c4222
3 changed files with 8 additions and 3 deletions
+4 -1
View File
@@ -2335,7 +2335,10 @@ int MTGLegendRule::canBeInList(MTGCardInstance * card)
return 0;
if (card->hasType(Subtypes::TYPE_LEGENDARY) && game->isInPlay(card))
{
return 1;
if(card->has(Constants::NOLEGEND))
return 0;
else
return 1;
}
return 0;
}