convert etb part of Bazaar of Wonders to script

This commit is contained in:
slapshot5
2011-09-29 04:52:29 +00:00
parent 85cfc2ddb0
commit b3e78fbdf4
2 changed files with 3 additions and 25 deletions

View File

@@ -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() {