mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Moved Resuscitate from CardFactory to CardFactory_Instants.
This commit is contained in:
@@ -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 **************************
|
//*************** START *********** START **************************
|
||||||
else if(cardName.equals("Pyrohemia")) {
|
else if(cardName.equals("Pyrohemia")) {
|
||||||
SpellAbility ability = new Ability(card, "R") {
|
SpellAbility ability = new Ability(card, "R") {
|
||||||
|
|||||||
@@ -17,9 +17,30 @@ public class CardFactory_Instants {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Card getCard(final Card card, final String cardName, String owner) {
|
public static Card getCard(final Card card, final String cardName, String owner) {
|
||||||
|
|
||||||
|
|
||||||
|
//*************** START *********** START **************************
|
||||||
|
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 **************************
|
//*************** START *********** START **************************
|
||||||
if (cardName.equals("Brave the Elements")) {
|
else if (cardName.equals("Brave the Elements")) {
|
||||||
/**
|
/**
|
||||||
* This card now works slightly better than it did before the spAllPump
|
* This card now works slightly better than it did before the spAllPump
|
||||||
* keyword was created. The AI is too simple and needs some work.
|
* keyword was created. The AI is too simple and needs some work.
|
||||||
@@ -125,7 +146,7 @@ public class CardFactory_Instants {
|
|||||||
}//*************** END ************ END **************************
|
}//*************** END ************ END **************************
|
||||||
|
|
||||||
|
|
||||||
//*************** START *********** START **************************
|
//*************** START *********** START **************************
|
||||||
else if(cardName.equals("Pongify")) {
|
else if(cardName.equals("Pongify")) {
|
||||||
final SpellAbility spell = new Spell(card) {
|
final SpellAbility spell = new Spell(card) {
|
||||||
private static final long serialVersionUID = -7657135492744577568L;
|
private static final long serialVersionUID = -7657135492744577568L;
|
||||||
|
|||||||
Reference in New Issue
Block a user