forked from External/mage
Add Subtype to the CardAttribute Framework
This is a massive change. I’ve refrained from unrelated refactoring when possible but there are still a lot of changes here.
This commit is contained in:
parent
a1a3c0c6a7
commit
282443c231
272 changed files with 514 additions and 493 deletions
|
|
@ -96,9 +96,9 @@ public class CopyTokenFunction implements Function<Token, Card> {
|
|||
for (CardType type : sourceObj.getCardType()) {
|
||||
target.getCardType().add(type);
|
||||
}
|
||||
target.getSubtype().clear();
|
||||
for (String type : sourceObj.getSubtype()) {
|
||||
target.getSubtype().add(type);
|
||||
target.getSubtype(null).clear();
|
||||
for (String type : sourceObj.getSubtype(null)) {
|
||||
target.getSubtype(null).add(type);
|
||||
}
|
||||
target.getSupertype().clear();
|
||||
for (String type : sourceObj.getSupertype()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue