- fix issue 153 (Tokens should go to graveyard)
- "token" keyword can now be used in the parser with things such as Creature[-token] for "noncreature token"
- Let's stop using "token" as a type
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-01-03 10:08:36 +00:00
parent 69c5dee979
commit 23fe54ae6f
12 changed files with 110 additions and 7 deletions

View File

@@ -150,7 +150,9 @@ MTGCardInstance * CardDescriptor::match(MTGCardInstance * card){
match = NULL;
}
if ((isToken== -1 && card->isToken) || (isToken == 1 && !card->isToken)){
match = NULL;
}
if (attacker == 1){
if (defenser == &AnyCard){