Added small icon for tokens on token permanents. Token copied from permanents (Giant Adephage) show now the image of the permanent.

This commit is contained in:
LevelX2 2013-06-17 17:00:17 +02:00
parent 5216eddb71
commit 95a12028e6
8 changed files with 69 additions and 3 deletions

View file

@ -79,7 +79,8 @@ public class CopyTokenFunction implements Function<Token, Card> {
for (String type : sourceObj.getSupertype()) {
target.getSupertype().add(type);
}
//target.setExpansionSetCode(source.getExpansionSetCode());
target.setOriginalExpansionSetCode(source.getExpansionSetCode());
target.setOriginalCardNumber(source.getCardNumber());
target.getAbilities().clear();
for (Ability ability0 : sourceObj.getAbilities()) {