mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Merge pull request #283 from tool4ever/caststuff
Fix casting card copies not being added to stack correctly
This commit is contained in:
@@ -275,7 +275,12 @@ public class GameAction {
|
|||||||
lastKnownInfo = CardUtil.getLKICopy(c);
|
lastKnownInfo = CardUtil.getLKICopy(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 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);
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user