* Fixed put token into play thta's of copy of target effects to handle targets correctly that already copy something (e.g. Kiki-Jiki, Mirror Breaker copying a Body Double creature).

This commit is contained in:
LevelX2 2015-09-12 14:52:14 +02:00
parent 05e7eedb65
commit 1175a18661
36 changed files with 477 additions and 971 deletions

View file

@ -57,6 +57,7 @@ public class CopyTokenFunction implements Function<Token, Card> {
}
// A copy contains only the attributes of the basic card or basic Token that's the base of the permanent
// else gained abililies would be copied too.
MageObject sourceObj = source;
if (source instanceof PermanentToken) {
sourceObj = ((PermanentToken) source).getToken();