add Dreamstone Hedron from Rise of the Eldrazi

This commit is contained in:
jendave
2011-08-06 04:03:40 +00:00
parent c060a2eebd
commit da35fc888a
3 changed files with 33 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_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_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 snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg
dreamstone_hedron.jpg http://www.wizards.com/global/images/magic/general/dreamstone_hedron.jpg
beastbreaker_of_bala_ged.jpg http://www.wizards.com/global/images/magic/general/beastbreaker_of_bala_ged.jpg beastbreaker_of_bala_ged.jpg http://www.wizards.com/global/images/magic/general/beastbreaker_of_bala_ged.jpg
hedron_matrix.jpg http://www.wizards.com/global/images/magic/general/hedron_matrix.jpg hedron_matrix.jpg http://www.wizards.com/global/images/magic/general/hedron_matrix.jpg
perish_the_thought.jpg http://www.wizards.com/global/images/magic/general/perish_the_thought.jpg perish_the_thought.jpg http://www.wizards.com/global/images/magic/general/perish_the_thought.jpg

View File

@@ -1,3 +1,9 @@
Dreamstone Hedron
6
Artifact
no text
tap: add 3
Beastbreaker of Bala Ged Beastbreaker of Bala Ged
1 G 1 G
Creature Human Warrior Creature Human Warrior

View File

@@ -18475,6 +18475,32 @@ public class CardFactory implements NewConstants {
card.addSpellAbility(spell); card.addSpellAbility(spell);
}//*************** END ************ END ************************** }//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Dreamstone Hedron")) {
final Ability_Tap ability = new Ability_Tap(card, "3") {
private static final long serialVersionUID = 4493940591347356773L;
@Override
public boolean canPlayAI() {
PlayerZone lib = AllZone.getZone(Constant.Zone.Library, Constant.Player.Computer);
return lib.size() > 0;
}
@Override
public void resolve() {
final String player = card.getController();
AllZone.GameAction.sacrifice(card);
AllZone.GameAction.drawCard(player);
AllZone.GameAction.drawCard(player);
AllZone.GameAction.drawCard(player);
}
};
ability.setDescription("3, tap: Sacrifice Dreamstone Hedron: Draw 3 cards.");
ability.setStackDescription(cardName+" - Draw 3 cards.");
ability.setBeforePayMana(new Input_PayManaCost(ability));
card.addSpellAbility(ability);
}//*************** END ************ END **************************
// Cards with Cycling abilities // Cards with Cycling abilities
// -1 means keyword "Cycling" not found // -1 means keyword "Cycling" not found
if(hasKeyword(card, "Cycling") != -1) { if(hasKeyword(card, "Cycling") != -1) {