*Removed remnants of my first attempt at Epic.

This commit is contained in:
Hellfish
2011-10-18 15:28:50 +00:00
parent a504833663
commit 2881c020df
4 changed files with 0 additions and 23 deletions

View File

@@ -1160,8 +1160,6 @@ public class GameAction {
canShowWinLose = true;
forge.card.trigger.Trigger.resetIDs();
AllZone.getTriggerHandler().clearTriggerSettings();
AllZone.getHumanPlayer().setEpicSpell(null);
AllZone.getComputerPlayer().setEpicSpell(null);
{ //re-number cards just so their unique numbers are low, just for user friendliness
CardFactoryInterface c = AllZone.getCardFactory();

View File

@@ -49,8 +49,6 @@ public abstract class Player extends GameEntity {
Map<Constant.Zone, PlayerZone> zones = new EnumMap<Constant.Zone, PlayerZone>(Constant.Zone.class);
public final static List<Zone> ALL_ZONES = Collections.unmodifiableList(Arrays.asList(Zone.Battlefield, Zone.Library, Zone.Graveyard, Zone.Hand, Zone.Exile, Zone.Command));
private SpellAbility epicSpell = null;
/**
* <p>Constructor for Player.</p>
@@ -1916,18 +1914,4 @@ public abstract class Player extends GameEntity {
return p1.getName().equals(getName());
} else return false;
}
/**
* @return the epicSpell
*/
public SpellAbility getEpicSpell() {
return epicSpell;
}
/**
* @param epicSpell0 the epicSpell to set
*/
public void setEpicSpell(SpellAbility epicSpell0) {
this.epicSpell = epicSpell0;
}
}

View File

@@ -4990,7 +4990,6 @@ public class CardFactoryUtil {
@Override
public void resolve() {
card.getController().setEpicSpell(origSA);
//Create Epic emblem
Card eff = new Card();

View File

@@ -56,10 +56,6 @@ abstract public class Spell extends SpellAbility implements java.io.Serializable
@Override
public boolean canPlay() {
if (AllZone.getStack().isSplitSecondOnStack()) return false;
if(getSourceCard().getController().getEpicSpell() != null) {
return false; //Player has cast an Epic spell and can't cast more this game.
}
Card card = getSourceCard();