fixed color-changing effects removing subtypes

This commit is contained in:
Evan Kranzler 2017-09-26 20:30:52 -04:00
parent 3ead624f76
commit 21d3db39c8
7 changed files with 24 additions and 43 deletions

View file

@ -21,10 +21,10 @@ public class CardAttribute implements Serializable {
protected ObjectColor color;
protected SubTypeList subtype;
public CardAttribute(Card card) {
public CardAttribute(Card card, Game game) {
color = card.getColor(null).copy();
subtype = new SubTypeList();
subtype.addAll(subtype);
subtype.addAll(card.getSubtype(game));
}
public CardAttribute(CardAttribute cardAttribute) {