mirror of
https://github.com/magefree/mage.git
synced 2026-01-24 04:09:54 -08:00
Create copy effects - fixed that it can't copy second side of the modal double-faced card (close #11307, close #13269);
This commit is contained in:
parent
bb44b70d7e
commit
36309206a2
2 changed files with 83 additions and 1 deletions
|
|
@ -84,7 +84,8 @@ public class CopyTokenFunction {
|
|||
return;
|
||||
}
|
||||
|
||||
Card sourceObj = source.getMainCard();
|
||||
// must use real card side, e.g. half from MDFC (not main)
|
||||
Card sourceObj = sourcePermanent.getCard();
|
||||
target.setCopySourceCard(sourceObj);
|
||||
// main side
|
||||
copyToToken(target, sourceObj, game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue