diff --git a/res/card-pictures.txt b/res/card-pictures.txt index bb717a9bf82..cb3a58400ea 100644 --- a/res/card-pictures.txt +++ b/res/card-pictures.txt @@ -18,6 +18,7 @@ forest.jpg http://resources.wizards.com/magic/cards/unh/en-us/card73946.jpg forest1.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=2748 forest2.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=587 forest3.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=586 +crypt_of_agadeem.jpg http://www.wizards.com/global/images/magic/general/crypt_of_agadeem.jpg traumatic_visions.jpg http://www.wizards.com/global/images/magic/general/traumatic_visions.jpg fiery_fall.jpg http://www.wizards.com/global/images/magic/general/fiery_fall.jpg absorb_vis.jpg http://www.wizards.com/global/images/magic/general/absorb_vis.jpg diff --git a/res/cards.txt b/res/cards.txt index 41a7554edb8..3b54eb4413e 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1,3 +1,10 @@ +Crypt of Agadeem +no cost +Land +no text +Comes into play tapped. +tap: add B + Traumatic Visions 3 U U Instant diff --git a/src/forge/CardFactory_Lands.java b/src/forge/CardFactory_Lands.java index a25bfd15703..03b43052c80 100644 --- a/src/forge/CardFactory_Lands.java +++ b/src/forge/CardFactory_Lands.java @@ -2663,6 +2663,49 @@ class CardFactory_Lands { card.addSpellAbility(ability); } //*************** END ************ END ************************** + + //*************** START *********** START ************************** + if (cardName.equals("Crypt of Agadeem")) + { + final SpellAbility ability = new Ability_Tap(card, "2") + { + private static final long serialVersionUID = -3561865824450791583L; + public void resolve() + { + /*CardList list = new CardList(AllZone.getZone(Constant.Zone.Play, Constant.Player.Human).getCards()); + list = list.getName("Mana Pool");*/ + Card mp = AllZone.ManaPool;//list.getCard(0); + + PlayerZone Grave = AllZone.getZone(Constant.Zone.Graveyard, card.getController()); + CardList evildead = new CardList(); + evildead.addAll(Grave.getCards()); + evildead = evildead.filter(new CardListFilter(){ + public boolean addCard(Card c) { + return (c.isCreature() && CardUtil.getColors(c).contains(Constant.Color.Black)); + } + }); + + + for(int i=0;i