forked from External/mage
implement [MKM] Cryptic Coat (#12164) and Cloak ability
This commit is contained in:
parent
8172616449
commit
ab280ad2ba
15 changed files with 235 additions and 29 deletions
|
|
@ -73,6 +73,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
protected boolean renowned;
|
||||
protected boolean suspected;
|
||||
protected boolean manifested = false;
|
||||
protected boolean cloaked = false;
|
||||
protected boolean morphed = false;
|
||||
protected boolean disguised = false;
|
||||
protected boolean ringBearerFlag = false;
|
||||
|
|
@ -189,6 +190,7 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
this.morphed = permanent.morphed;
|
||||
this.disguised = permanent.disguised;
|
||||
this.manifested = permanent.manifested;
|
||||
this.cloaked = permanent.cloaked;
|
||||
this.createOrder = permanent.createOrder;
|
||||
this.prototyped = permanent.prototyped;
|
||||
this.canBeSacrificed = permanent.canBeSacrificed;
|
||||
|
|
@ -1905,6 +1907,16 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
manifested = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isCloaked() {
|
||||
return cloaked;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCloaked(boolean value) {
|
||||
cloaked = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isMorphed() {
|
||||
return morphed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue