- Added the option enchanted, unenchanted and token to getValidCards in CardList.java.

- Added Brainspoil, Cut the Earthly Bond and Venomous Vines.
This commit is contained in:
jendave
2011-08-06 05:47:16 +00:00
parent c741bb22f8
commit fe0cc7c43a
2 changed files with 29 additions and 3 deletions

View File

@@ -1,3 +1,22 @@
Venomous Vines
2 G G
Sorcery
Destroy target enchanted permanent.
spDestroyTgt:Permanent.enchanted
Cut the Earthly Bond
U
Instant Arcane
Return target enchanted permanent to its owner's hand.
spBounceTgt:Permanent.enchanted:Hand
Brainspoil
3 B B
Sorcery
Destroy target creature that isn't enchanted. It can't be regenerated.
spDestroyTgt:Creature.unenchanted:NoRegen
Transmute:1 B B
Bad Moon
1 B
Enchantment
@@ -4159,6 +4178,13 @@ no text
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/back_to_nature.jpg
Bad Moon
1 B
Enchantment
Black creatures get +1/+1
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/bad_moon.jpg
Badlands
no cost
Land Mountain Swamp

View File

@@ -252,11 +252,11 @@ public class CardList implements Iterable<Card> {
&& (!c.getKeyword().contains(exR[j].substring(7)));
else r = r && (c.getKeyword().contains(exR[j].substring(4)));
else if(exR[j].startsWith("tapped")) r = r && (c.isTapped());
else if(exR[j].startsWith("enchanted")) r = r && (c.isEnchanted());
else if(exR[j].startsWith("unenchanted")) r = r && (!c.isEnchanted());
else if(exR[j].startsWith("token")) r = r && (c.isToken());
//TODO: converted mana cost
//TODO: tapped
//TODO: enchanted
//TODO: enchanting
//TODO: token
//TODO: counters
else if(exR[j].startsWith("named")) //by name
r = r && (c.getName().equals(exR[j].substring(6)));