- Moved Resuscitate from CardFactory to CardFactory_Instants.

This commit is contained in:
jendave
2011-08-06 05:59:37 +00:00
parent 891f86f2c7
commit 73e207e810
2 changed files with 23 additions and 24 deletions

View File

@@ -4814,28 +4814,6 @@ public class CardFactory implements NewConstants {
//*************** START *********** START **************************
else if (cardName.equals("Resuscitate")) {
/**
* This card does not work and this is a place holder.
* May require a keyword factory.
*/
final SpellAbility spell = new Spell(card) {
private static final long serialVersionUID = 2024445242584858534L;
@Override
public void resolve() {
}//resolve
};//SpellAbility
spell.setStackDescription(card.getName() + " - I do nothing but go to the graveyard.");
card.clearSpellAbility();
card.addSpellAbility(spell);
}//*************** END ************ END **************************
//*************** START *********** START **************************
else if(cardName.equals("Pyrohemia")) {
SpellAbility ability = new Ability(card, "R") {

View File

@@ -18,8 +18,29 @@ public class CardFactory_Instants {
public static Card getCard(final Card card, final String cardName, String owner) {
//*************** START *********** START **************************
if (cardName.equals("Brave the Elements")) {
if (cardName.equals("Resuscitate")) {
/**
* This card does not work and this is a place holder.
* May require a keyword factory.
*/
final SpellAbility spell = new Spell(card) {
private static final long serialVersionUID = 2024445242584858534L;
@Override
public void resolve() {
}//resolve
};//SpellAbility
spell.setStackDescription(card.getName() + " - I do nothing but go to the graveyard.");
card.clearSpellAbility();
card.addSpellAbility(spell);
}//*************** END ************ END **************************
//*************** START *********** START **************************
else if (cardName.equals("Brave the Elements")) {
/**
* This card now works slightly better than it did before the spAllPump
* keyword was created. The AI is too simple and needs some work.