add Sage Owl from Weatherlight

This commit is contained in:
jendave
2011-08-06 04:15:11 +00:00
parent 0278111f94
commit b0ef54f8b9
3 changed files with 29 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene
snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg
snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
sage_owl.jpg http://www.wizards.com/global/images/magic/general/sage_owl.jpg
ponder.jpg http://www.wizards.com/global/images/magic/general/ponder.jpg
daring_leap.jpg http://www.wizards.com/global/images/magic/general/daring_leap.jpg
mind_control.jpg http://www.wizards.com/global/images/magic/general/mind_control.jpg

View File

@@ -1,3 +1,10 @@
Sage Owl
1 U
Creature Bird
When Sage Owl enters the battlefield, look at the top four cards of your library, then put them back in any order.
1/1
Flying
Ponder
U
Sorcery

View File

@@ -17672,6 +17672,27 @@ public class CardFactory_Creatures {
ability.setBeforePayMana(CardFactoryUtil.input_targetPlayer(ability));
}//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Sage Owl")) {
final SpellAbility ability = new Ability(card, "0") {
@Override
public void resolve() {
if(card.getController().equals(Constant.Player.Human)) {
AllZoneUtil.rearrangeTopOfLibrary(card.getController(), 4, false);
}
}//resolve()
};//SpellAbility
Command intoPlay = new Command() {
private static final long serialVersionUID = 4757054648163014149L;
public void execute() {
AllZone.Stack.add(ability);
}
};
ability.setStackDescription(cardName + " - Rearrange the top 4 cards in your library in any order.");
card.addComesIntoPlayCommand(intoPlay);
}//*************** END ************ END **************************
// Cards with Cycling abilities
// -1 means keyword "Cycling" not found
if(shouldCycle(card) != -1) {