mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
update Consume the Meek to exercise new AllZoneUtil functions
This commit is contained in:
@@ -18778,12 +18778,11 @@ public class CardFactory implements NewConstants {
|
|||||||
@Override
|
@Override
|
||||||
public void resolve() {
|
public void resolve() {
|
||||||
CardList all = new CardList();
|
CardList all = new CardList();
|
||||||
all.addAll(getHumanCreatures().toArray());
|
all.add(getHumanCreatures());
|
||||||
all.addAll(getComputerCreatures().toArray());
|
all.add(getComputerCreatures());
|
||||||
|
|
||||||
for(int i = 0; i < all.size(); i++) {
|
for(int i = 0; i < all.size(); i++) {
|
||||||
Card c = all.get(i);
|
Card c = all.get(i);
|
||||||
System.out.println("Consume the Meek: " + c);
|
|
||||||
AllZone.GameAction.destroyNoRegeneration(c);
|
AllZone.GameAction.destroyNoRegeneration(c);
|
||||||
}
|
}
|
||||||
}// resolve()
|
}// resolve()
|
||||||
@@ -18795,17 +18794,13 @@ public class CardFactory implements NewConstants {
|
|||||||
};
|
};
|
||||||
|
|
||||||
private CardList getHumanCreatures() {
|
private CardList getHumanCreatures() {
|
||||||
CardList human = new CardList();
|
CardList human = AllZoneUtil.getPlayerCardsInPlay(Constant.Player.Human);
|
||||||
human.addAll(AllZone.Human_Play.getCards());
|
return human.filter(filter);
|
||||||
human = human.filter(filter);
|
|
||||||
return human;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private CardList getComputerCreatures() {
|
private CardList getComputerCreatures() {
|
||||||
CardList comp = new CardList();
|
CardList comp = AllZoneUtil.getPlayerCardsInPlay(Constant.Player.Computer);
|
||||||
comp.addAll(AllZone.Computer_Play.getCards());
|
return comp.filter(filter);
|
||||||
comp = comp.filter(filter);
|
|
||||||
return comp;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user