* Cloning a face-down creature should produce a plain 2/2 creature (fixes #3582).

This commit is contained in:
LevelX2 2020-06-27 01:01:55 +02:00
parent d02d8a4dfe
commit 8906f3be7b
2 changed files with 61 additions and 2 deletions

View file

@ -562,7 +562,7 @@ public abstract class GameImpl implements Game, Serializable {
@Override
public void saveState(boolean bookmark) {
if (!simulation && gameStates != null) {
if (!simulation && gameStates != null) {
if (bookmark || saveGame) {
gameStates.save(state);
}
@ -1642,7 +1642,8 @@ public abstract class GameImpl implements Game, Serializable {
newBluePrint.reset(this);
//getState().addCard(permanent);
if (copyFromPermanent.isMorphed() || copyFromPermanent.isManifested()) {
if (copyFromPermanent.isMorphed() || copyFromPermanent.isManifested()
|| copyFromPermanent.isFaceDown(this)) {
MorphAbility.setPermanentToFaceDownCreature(newBluePrint);
}
newBluePrint.assignNewId();