diff --git a/res/card-pictures.txt b/res/card-pictures.txt index 2b21fc9f01a..ed2a98d3f20 100644 --- a/res/card-pictures.txt +++ b/res/card-pictures.txt @@ -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 +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 fabricate.jpg http://www.wizards.com/global/images/magic/general/fabricate.jpg diff --git a/res/cards.txt b/res/cards.txt index fcfa930545d..13c497b658f 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1,3 +1,9 @@ +Ponder +U +Sorcery +Look at the top three cards of your library, then put them back in any order. You may shuffle your library. +Draw a card. + Daring Leap 1 W U Instant diff --git a/src/forge/CardFactory.java b/src/forge/CardFactory.java index e7cd72c3d5d..95ed21bc112 100644 --- a/src/forge/CardFactory.java +++ b/src/forge/CardFactory.java @@ -19194,6 +19194,34 @@ public class CardFactory implements NewConstants { card.addSpellAbility(spell); }//*************** END ************ END ************************** + //*************** START *********** START ************************** + else if(cardName.equals("Ponder")) { + /* + * Look at the top three cards of your library, then put them back + * in any order. You may shuffle your library. Draw a card. + */ + final SpellAbility spell = new Spell(card) { + private static final long serialVersionUID = 484615053209732769L; + + @Override + public void resolve() { + String player = getTargetPlayer(); + AllZoneUtil.rearrangeTopOfLibrary(player, 3, false); + AllZone.GameAction.promptForShuffle(player); + //AllZone.GameAction.drawCards(player, 1); + } + + @Override + public boolean canPlayAI() { + //basically the same reason as Sensei's Diving Top + return false; + } + };//spell + spell.setStackDescription("Rearrange the top 3 cards in your library in any order. You may shuffle you library. Draw a card."); + card.clearSpellAbility(); + card.addSpellAbility(spell); + }//*************** END ************ END ************************** + // Cards with Cycling abilities // -1 means keyword "Cycling" not found if(hasKeyword(card, "Cycling") != -1) {