mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Added North Star
This commit is contained in:
@@ -733,6 +733,7 @@ public class PhaseHandler implements java.io.Serializable, IGameStateObject {
|
||||
p.setLifeLostThisTurn(0);
|
||||
p.setLifeGainedThisTurn(0);
|
||||
p.setLibrarySearched(0);
|
||||
p.setNumManaConversion(0);
|
||||
|
||||
p.removeKeyword("At the beginning of this turn's end step, you lose the game.");
|
||||
p.removeKeyword("Skip the untap step of this turn.");
|
||||
|
||||
@@ -184,6 +184,8 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
private List<Card> lostOwnership = new ArrayList<Card>();
|
||||
private List<Card> gainedOwnership = new ArrayList<Card>();
|
||||
|
||||
private int numManaConversion = 0;
|
||||
|
||||
public final PlayerOutcome getOutcome() {
|
||||
return stats.getOutcome();
|
||||
}
|
||||
@@ -2332,6 +2334,23 @@ public class Player extends GameEntity implements Comparable<Player> {
|
||||
this.numLibrarySearchedOwn++;
|
||||
}
|
||||
|
||||
public final void setNumManaConversion(final int l) {
|
||||
this.numManaConversion = l;
|
||||
}
|
||||
|
||||
public final boolean hasManaConversion() {
|
||||
return this.numManaConversion < this.getAmountOfKeyword("You may spend mana as though"
|
||||
+ " it were mana of any color to cast a spell this turn.");
|
||||
}
|
||||
|
||||
public final void incNumManaConversion() {
|
||||
this.numManaConversion++;
|
||||
}
|
||||
|
||||
public final void decNumManaConversion() {
|
||||
this.numManaConversion--;
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user