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("|Monstrous:");
|
||||||
newText.append(c.getMonstrosityNum());
|
newText.append(c.getMonstrosityNum());
|
||||||
}
|
}
|
||||||
|
if (c.isPhasedOut()) {
|
||||||
|
newText.append("|PhasedOut");
|
||||||
|
}
|
||||||
if (c.isFaceDown()) {
|
if (c.isFaceDown()) {
|
||||||
newText.append("|FaceDown");
|
newText.append("|FaceDown");
|
||||||
if (c.isManifested()) {
|
if (c.isManifested()) {
|
||||||
@@ -824,6 +827,8 @@ public abstract class GameState {
|
|||||||
} else if (info.startsWith("Monstrous:")) {
|
} else if (info.startsWith("Monstrous:")) {
|
||||||
c.setMonstrous(true);
|
c.setMonstrous(true);
|
||||||
c.setMonstrosityNum(Integer.parseInt(info.substring((info.indexOf(':') + 1))));
|
c.setMonstrosityNum(Integer.parseInt(info.substring((info.indexOf(':') + 1))));
|
||||||
|
} else if (info.startsWith("PhasedOut")) {
|
||||||
|
c.setPhasedOut(true);
|
||||||
} else if (info.startsWith("Counters:")) {
|
} else if (info.startsWith("Counters:")) {
|
||||||
applyCountersToGameEntity(c, info.substring(info.indexOf(':') + 1));
|
applyCountersToGameEntity(c, info.substring(info.indexOf(':') + 1));
|
||||||
} else if (info.startsWith("SummonSick")) {
|
} else if (info.startsWith("SummonSick")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user