diff --git a/res/card-pictures.txt b/res/card-pictures.txt index b8602fcaeff..4e73dea4183 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 +glasses_of_urza.jpg http://www.wizards.com/global/images/magic/general/glasses_of_urza.jpg reveillark.jpg http://www.wizards.com/global/images/magic/general/reveillark.jpg heedless_one.jpg http://www.wizards.com/global/images/magic/general/heedless_one.jpg slate_of_ancestry.jpg http://www.wizards.com/global/images/magic/general/slate_of_ancestry.jpg diff --git a/res/cards.txt b/res/cards.txt index 68fd69d221e..72676579e69 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1,3 +1,8 @@ +Glasses of Urza +1 +Artifact +tap: Look at target player's hand. + Reveillark 4 W Creature Elemental diff --git a/src/forge/CardFactory.java b/src/forge/CardFactory.java index 5befb6cf157..fef2681b1b7 100644 --- a/src/forge/CardFactory.java +++ b/src/forge/CardFactory.java @@ -18568,6 +18568,30 @@ public class CardFactory implements NewConstants { card.addSpellAbility(ability); }//*************** END ************ END ************************** + //*************** START *********** START ************************** + else if(cardName.equals("Glasses of Urza")) { + final Ability_Tap ability = new Ability_Tap(card, "0") { + private static final long serialVersionUID = -3857979945891501990L; + + @Override + public void resolve() { + final String player = getTargetPlayer(); + PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, player); + CardList handList = new CardList( hand.getCards()); + AllZone.Display.getChoice("Target player's hand", handList.toArray()); + } + + @Override + public boolean canPlayAI() { + return false; + } + + };//SpellAbility + + ability.setBeforePayMana(CardFactoryUtil.input_targetPlayer(ability)); + card.addSpellAbility(ability); + }//*************** END ************ END ************************** + // Cards with Cycling abilities // -1 means keyword "Cycling" not found if(hasKeyword(card, "Cycling") != -1) {