- Improved the AI of Quicksilver Amulet.

This commit is contained in:
jendave
2011-08-06 08:45:02 +00:00
parent 7ec49cbce7
commit e0803ed266

View File

@@ -7596,7 +7596,7 @@ public class CardFactory implements NewConstants {
@Override @Override
public boolean canPlayAI() { public boolean canPlayAI() {
return getCreature().size() != 0; return (getCreature().size() > 0);
} }
@Override @Override
@@ -7609,6 +7609,11 @@ public class CardFactory implements NewConstants {
CardList getCreature() { CardList getCreature() {
CardList list = new CardList(AllZone.Computer_Hand.getCards()); CardList list = new CardList(AllZone.Computer_Hand.getCards());
list = list.getType("Creature"); list = list.getType("Creature");
list = list.filter(new CardListFilter() {
public boolean addCard(Card c) {
return (c.getCMC() > 4);
}
});
return list; return list;
} }