forked from External/mage
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:
parent
5216eddb71
commit
95a12028e6
8 changed files with 69 additions and 3 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue