mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Improved the AI of Quicksilver Amulet.
This commit is contained in:
@@ -7596,7 +7596,7 @@ public class CardFactory implements NewConstants {
|
||||
|
||||
@Override
|
||||
public boolean canPlayAI() {
|
||||
return getCreature().size() != 0;
|
||||
return (getCreature().size() > 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -7609,6 +7609,11 @@ public class CardFactory implements NewConstants {
|
||||
CardList getCreature() {
|
||||
CardList list = new CardList(AllZone.Computer_Hand.getCards());
|
||||
list = list.getType("Creature");
|
||||
list = list.filter(new CardListFilter() {
|
||||
public boolean addCard(Card c) {
|
||||
return (c.getCMC() > 4);
|
||||
}
|
||||
});
|
||||
return list;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user