- {z} cost becomes l2e (Library To Exile)
- {q} cost becomes s2l (Send to Library) <- from any place to Library
- subtypes leyline, controllsershroud, playershroud become ability keywords
This commit is contained in:
wagic.the.homebrew@gmail.com
2010-09-21 12:18:37 +00:00
parent e2727cb7c3
commit 1c0218326e
8 changed files with 77 additions and 58 deletions
+9
View File
@@ -328,6 +328,15 @@ int MTGGameZone::hasType(const char * value){
return 0;
}
int MTGGameZone::hasAbility(int ability){
for (int i=0; i<(nb_cards); i++) {
if (cards[i]->basicAbilities[ability]){
return 1;
}
}
return 0;
}
void MTGGameZone::cleanupPhase(){
for (int i=0; i<(nb_cards); i++)