mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
added Halimar Depths from Worldwake.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user