mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Added support for PhasedOut to GameState.
This commit is contained in:
@@ -218,6 +218,9 @@ public abstract class GameState {
|
||||
newText.append("|Monstrous:");
|
||||
newText.append(c.getMonstrosityNum());
|
||||
}
|
||||
if (c.isPhasedOut()) {
|
||||
newText.append("|PhasedOut");
|
||||
}
|
||||
if (c.isFaceDown()) {
|
||||
newText.append("|FaceDown");
|
||||
if (c.isManifested()) {
|
||||
@@ -824,6 +827,8 @@ public abstract class GameState {
|
||||
} else if (info.startsWith("Monstrous:")) {
|
||||
c.setMonstrous(true);
|
||||
c.setMonstrosityNum(Integer.parseInt(info.substring((info.indexOf(':') + 1))));
|
||||
} else if (info.startsWith("PhasedOut")) {
|
||||
c.setPhasedOut(true);
|
||||
} else if (info.startsWith("Counters:")) {
|
||||
applyCountersToGameEntity(c, info.substring(info.indexOf(':') + 1));
|
||||
} else if (info.startsWith("SummonSick")) {
|
||||
|
||||
Reference in New Issue
Block a user