Fix casting card copies not being added to stack correctly

This commit is contained in:
tool4EvEr
2022-05-07 10:18:19 +02:00
parent 3f44105d93
commit 9db791d875
4 changed files with 12 additions and 7 deletions

View File

@@ -275,7 +275,12 @@ public class GameAction {
lastKnownInfo = CardUtil.getLKICopy(c); lastKnownInfo = CardUtil.getLKICopy(c);
} }
copied = CardFactory.copyCard(c, false); // CR 707.12 casting of a card copy, don't copy it again
if (zoneTo.is(ZoneType.Stack) && c.isRealToken()) {
copied = c;
} else {
copied = CardFactory.copyCard(c, false);
}
if (zoneTo.is(ZoneType.Stack)) { if (zoneTo.is(ZoneType.Stack)) {
// when moving to stack, copy changed card information // when moving to stack, copy changed card information