added Glasses of Urza from Alpha base set - could be helpful for AI testing.

This commit is contained in:
jendave
2011-08-06 04:05:12 +00:00
parent dd8390a782
commit 7a61accea2
3 changed files with 30 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
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

View File

@@ -1,3 +1,8 @@
Glasses of Urza
1
Artifact
tap: Look at target player's hand.
Reveillark
4 W
Creature Elemental

View File

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