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:
Samuel Sandeen 2016-08-28 17:30:10 -04:00
parent a1a3c0c6a7
commit 282443c231
272 changed files with 514 additions and 493 deletions

View file

@ -34,9 +34,9 @@ public class CopyTokenEffect extends ContinuousEffectImpl {
for (CardType type: token.getCardType()) {
permanent.getCardType().add(type);
}
permanent.getSubtype().clear();
for (String type: token.getSubtype()) {
permanent.getSubtype().add(type);
permanent.getSubtype(game).clear();
for (String type: token.getSubtype(game)) {
permanent.getSubtype(game).add(type);
}
permanent.getSupertype().clear();
for (String type: token.getSupertype()) {