mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
*Removed remnants of my first attempt at Epic.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4990,7 +4990,6 @@ public class CardFactoryUtil {
|
||||
|
||||
@Override
|
||||
public void resolve() {
|
||||
card.getController().setEpicSpell(origSA);
|
||||
|
||||
//Create Epic emblem
|
||||
Card eff = new Card();
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user