diff --git a/res/card-pictures.txt b/res/card-pictures.txt index cf6584112e5..af29f51f77e 100644 --- a/res/card-pictures.txt +++ b/res/card-pictures.txt @@ -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 +hammer_of_bogardan.jpg http://www.wizards.com/global/images/magic/general/hammer_of_bogardan.jpg doomsday.jpg http://www.wizards.com/global/images/magic/general/doomsday.jpg eternal_dragon.jpg http://www.wizards.com/global/images/magic/general/eternal_dragon.jpg rite_of_replication.jpg http://www.wizards.com/global/images/magic/general/rite_of_replication.jpg diff --git a/res/cards.txt b/res/cards.txt index b04489047a4..459e7807200 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1,3 +1,9 @@ +Hammer of Bogardan +1 R R +Sorcery +no text +spDamageTgtCP:3 + Doomsday B B B Sorcery diff --git a/src/forge/CardFactory.java b/src/forge/CardFactory.java index 74e625e6c32..87bb00dd6fa 100644 --- a/src/forge/CardFactory.java +++ b/src/forge/CardFactory.java @@ -15588,6 +15588,42 @@ public class CardFactory implements NewConstants { card.addSpellAbility(ability); }//*************** END ************ END ************************** + //*************** START *********** START ************************** + else if(cardName.equals("Hammer of Bogardan")) { + final Ability ability2 = new Ability(card, "2 R R R") { + + private static final long serialVersionUID = -5633123448009L; + + @Override + public void resolve() { + // PlayerZone grave = AllZone.getZone(Constant.Zone.Graveyard, card.getController()); + // grave.remove(card); + card.addReplaceMoveToGraveyardCommand(new Command() { + private static final long serialVersionUID = -25594893330418L; + + public void execute() { + PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, card.getController()); + AllZone.GameAction.moveTo(hand, card); + } + }); + } + + + @Override + public boolean canPlay() { + PlayerZone grave = AllZone.getZone(Constant.Zone.Graveyard, card.getController()); + + return AllZone.GameAction.isCardInZone(card, grave) && AllZone.GameAction.getLastPlayerToDraw() == card.getController(); + } + + }; + card.addSpellAbility(ability2); + ability2.setFlashBackAbility(true); + card.setUnearth(true); + ability2.setDescription("2 R R R: Return Hammer of Bogardan from your graveyard to your hand. Activate this ability only during your upkeep."); + ability2.setStackDescription(card.getName() + " returns from the graveyard to hand"); + }//*************** END ************ END ************************** + //*************** START ************ START ************************** else if(cardName.equals("Gemstone Array")) { final Ability store = new Ability(card, "2") {