Also imprint all merged components

This commit is contained in:
Lyu Zong-Hong
2021-02-13 15:01:36 +09:00
parent da2cc2dbe1
commit 39659f40c1

View File

@@ -738,6 +738,12 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
}
if (imprint != null) {
hostCard.addImprintedCard(movedCard);
if (gameCard.hasMergedCard()) {
for (final Card c : gameCard.getMergedCards()) {
if (c == gameCard) continue;
hostCard.addImprintedCard(c);
}
}
}
}
}
@@ -1299,6 +1305,12 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
// for imprinted since this doesn't use Target
if (imprint) {
source.addImprintedCard(movedCard);
if (c.hasMergedCard()) {
for (final Card card : c.getMergedCards()) {
if (card == c) continue;
source.addImprintedCard(card);
}
}
}
}