mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Created an empty card object with spell ability for Resuscitate.
This commit is contained in:
@@ -3933,6 +3933,25 @@ public class CardFactory implements NewConstants {
|
|||||||
card.addSpellAbility(spell);
|
card.addSpellAbility(spell);
|
||||||
}//*************** END ************ END **************************
|
}//*************** END ************ END **************************
|
||||||
|
|
||||||
|
//*************** 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 **************************
|
||||||
if(cardName.equals("Brave the Elements")
|
if(cardName.equals("Brave the Elements")
|
||||||
|
|||||||
Reference in New Issue
Block a user