forked from External/mage
Tokens and command objects reworked (part 1 of 2):
- fixed that copy effect doesn't restore original image after effect's end; - removed outdated availableImageSetCodes (all images auto-selected from tokens database now, related to #10139); - refactor command objects to use CommandObjectImpl; - refactor planes/emblems/etc objects to use MageObjectImpl, added copyable support; - refactor another game objects to remove some duplicated fields;
This commit is contained in:
parent
46f6593da8
commit
5f55c7c667
45 changed files with 517 additions and 477 deletions
|
|
@ -126,9 +126,10 @@ public class PermanentCard extends PermanentImpl {
|
|||
this.subtype.copyFrom(card.getSubtype());
|
||||
this.supertype.clear();
|
||||
this.supertype.addAll(card.getSuperType());
|
||||
this.expansionSetCode = card.getExpansionSetCode();
|
||||
|
||||
this.setExpansionSetCode(card.getExpansionSetCode());
|
||||
this.setCardNumber(card.getCardNumber());
|
||||
this.rarity = card.getRarity();
|
||||
this.cardNumber = card.getCardNumber();
|
||||
this.usesVariousArt = card.getUsesVariousArt();
|
||||
|
||||
if (card.getSecondCardFace() != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue