mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
add Dreamstone Hedron from Rise of the Eldrazi
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user