mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Added Hammer of Bogardan
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_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
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
Hammer of Bogardan
|
||||
1 R R
|
||||
Sorcery
|
||||
no text
|
||||
spDamageTgtCP:3
|
||||
|
||||
Doomsday
|
||||
B B B
|
||||
Sorcery
|
||||
|
||||
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user