mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
convert etb part of Bazaar of Wonders to script
This commit is contained in:
@@ -1326,30 +1326,6 @@ public abstract class AbstractCardFactory implements NewConstants, CardFactoryIn
|
||||
} //*************** END ************ END **************************
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if (cardName.equals("Bazaar of Wonders")) {
|
||||
/*
|
||||
* When Bazaar of Wonders enters the battlefield, exile all cards from all graveyards.
|
||||
*/
|
||||
Command intoPlay = new Command() {
|
||||
private static final long serialVersionUID = 9209706681167017765L;
|
||||
|
||||
public void execute() {
|
||||
CardList hGrave = AllZone.getHumanPlayer().getCardsIn(Zone.Graveyard);
|
||||
CardList cGrave = AllZone.getComputerPlayer().getCardsIn(Zone.Graveyard);
|
||||
|
||||
for (Card c : hGrave) {
|
||||
AllZone.getGameAction().exile(c);
|
||||
}
|
||||
for (Card c : cGrave) {
|
||||
AllZone.getGameAction().exile(c);
|
||||
}
|
||||
}
|
||||
};
|
||||
card.addComesIntoPlayCommand(intoPlay);
|
||||
} //*************** END ************ END **************************
|
||||
|
||||
|
||||
//*************** START *********** START **************************
|
||||
else if (cardName.equals("Phyrexian Processor")) {
|
||||
Command intoPlay = new Command() {
|
||||
|
||||
Reference in New Issue
Block a user