- Added the option tapped to getValidCards in CardList.java.

- Added Assassinate, Death Stroke and Vengeance.
This commit is contained in:
jendave
2011-08-06 05:46:53 +00:00
parent ea4916106e
commit 0fc8a73b68
2 changed files with 19 additions and 0 deletions

View File

@@ -1,3 +1,21 @@
Assassinate
2 B
Sorcery
Destroy target tapped creature.
spDestroyTgt:Creature.tapped
Death Stroke
B B
Sorcery
Destroy target tapped creature.
spDestroyTgt:Creature.tapped
Vengeance
3 W
Sorcery
Destroy target tapped creature.
spDestroyTgt:Creature.tapped
Drekavac Drekavac
1 B 1 B
Creature Beast Creature Beast

View File

@@ -251,6 +251,7 @@ public class CardList implements Iterable<Card> {
if(exR[j].startsWith("without")) r = r if(exR[j].startsWith("without")) r = r
&& (!c.getKeyword().contains(exR[j].substring(7))); && (!c.getKeyword().contains(exR[j].substring(7)));
else r = r && (c.getKeyword().contains(exR[j].substring(4))); else r = r && (c.getKeyword().contains(exR[j].substring(4)));
if(exR[j].startsWith("tapped")) r = r && (c.isTapped());
//TODO: converted mana cost //TODO: converted mana cost
//TODO: tapped //TODO: tapped
//TODO: enchanted //TODO: enchanted