Crypt of Agadeem was added.

This commit is contained in:
jendave
2011-08-06 02:58:26 +00:00
parent 1b2671626a
commit fa3dcb47f4
3 changed files with 51 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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<evildead.size();i++)
{
mp.addExtrinsicKeyword("ManaPool:B");
}
}
public boolean canPlayAI()
{
return false;
}
};
ability.setDescription("2, tap: Add B to your mana pool for each for each black creature card in your graveyard.");
ability.setStackDescription(cardName + " adds B to your mana pool for each black creature card in your graveyard.");
//card.clearSpellAbility();
//card.setText(card.getText() + ability.toString());
card.addSpellAbility(ability);
return card;
}//*************** END ************ END **************************
return card;
}