added Halimar Depths from Worldwake.

This commit is contained in:
jendave
2011-08-06 04:16:08 +00:00
parent d2085df99a
commit 96340e1e86
3 changed files with 33 additions and 0 deletions

View File

@@ -2917,6 +2917,31 @@ class CardFactory_Lands {
ability2.setBeforePayMana(new Input_PayManaCost(ability2));
}//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Halimar Depths")) {
/*
* When Halimar Depths enters the battlefield, look at the top three
* cards of your library, then put them back in any order.
*/
final SpellAbility ability = new Ability(card, "0") {
@Override
public void resolve() {
if(card.getController().equals(Constant.Player.Human)) {
AllZoneUtil.rearrangeTopOfLibrary(card.getController(), 3, false);
}
}//resolve()
};//SpellAbility
Command intoPlay = new Command() {
private static final long serialVersionUID = 4523264604845132603L;
public void execute() {
AllZone.Stack.add(ability);
}
};
ability.setStackDescription(cardName + " - Rearrange the top 3 cards in your library in any order.");
card.addComesIntoPlayCommand(intoPlay);
}//*************** END ************ END **************************
if(hasKeyword(card, "Cycling") != -1) {
int n = hasKeyword(card, "Cycling");