mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Also imprint all merged components
This commit is contained in:
@@ -738,6 +738,12 @@ public class ChangeZoneEffect extends SpellAbilityEffect {
|
|||||||
}
|
}
|
||||||
if (imprint != null) {
|
if (imprint != null) {
|
||||||
hostCard.addImprintedCard(movedCard);
|
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
|
// for imprinted since this doesn't use Target
|
||||||
if (imprint) {
|
if (imprint) {
|
||||||
source.addImprintedCard(movedCard);
|
source.addImprintedCard(movedCard);
|
||||||
|
if (c.hasMergedCard()) {
|
||||||
|
for (final Card card : c.getMergedCards()) {
|
||||||
|
if (card == c) continue;
|
||||||
|
source.addImprintedCard(card);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user