mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
fix test failure, another change to back faces
This commit is contained in:
parent
51923582a3
commit
2c77c54107
10 changed files with 9 additions and 11 deletions
|
|
@ -13,7 +13,7 @@ import java.util.UUID;
|
|||
public final class BelenonWarAnthem extends CardImpl {
|
||||
|
||||
public BelenonWarAnthem(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{}, "");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "");
|
||||
this.nightCard = true;
|
||||
TransformingDoubleFacedCard.copyToBackFace(new mage.cards.i.InvasionOfBelenon(ownerId, setInfo), this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import java.util.UUID;
|
|||
public final class GarrukTheVeilCursed extends CardImpl {
|
||||
|
||||
public GarrukTheVeilCursed(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{}, "");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.PLANESWALKER}, "");
|
||||
this.nightCard = true;
|
||||
TransformingDoubleFacedCard.copyToBackFace(new mage.cards.g.GarrukRelentless(ownerId, setInfo), this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import java.util.UUID;
|
|||
public final class HavengulMystery extends CardImpl {
|
||||
|
||||
public HavengulMystery(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{}, "");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
|
||||
this.nightCard = true;
|
||||
TransformingDoubleFacedCard.copyToBackFace(new mage.cards.h.HavengulLaboratory(ownerId, setInfo), this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import java.util.UUID;
|
|||
public final class JaceTelepathUnbound extends CardImpl {
|
||||
|
||||
public JaceTelepathUnbound(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{}, "");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.PLANESWALKER}, "");
|
||||
this.nightCard = true;
|
||||
TransformingDoubleFacedCard.copyToBackFace(new mage.cards.j.JaceVrynsProdigy(ownerId, setInfo), this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import java.util.UUID;
|
|||
public final class OrmendahlProfanePrince extends CardImpl {
|
||||
|
||||
public OrmendahlProfanePrince(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{}, "");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "");
|
||||
this.nightCard = true;
|
||||
TransformingDoubleFacedCard.copyToBackFace(new mage.cards.w.WestvaleAbbey(ownerId, setInfo), this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import java.util.UUID;
|
|||
public final class PersistentNightmare extends CardImpl {
|
||||
|
||||
public PersistentNightmare(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{}, "");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "");
|
||||
this.nightCard = true;
|
||||
TransformingDoubleFacedCard.copyToBackFace(new mage.cards.s.StartledAwake(ownerId, setInfo), this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import java.util.UUID;
|
|||
public final class SerraFaithkeeper extends CardImpl {
|
||||
|
||||
public SerraFaithkeeper(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{}, "");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "");
|
||||
this.nightCard = true;
|
||||
TransformingDoubleFacedCard.copyToBackFace(new mage.cards.i.InvasionOfDominaria(ownerId, setInfo), this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import java.util.UUID;
|
|||
public final class UnholyFiend extends CardImpl {
|
||||
|
||||
public UnholyFiend(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{}, "");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "");
|
||||
this.nightCard = true;
|
||||
TransformingDoubleFacedCard.copyToBackFace(new mage.cards.c.CloisteredYouth(ownerId, setInfo), this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import java.util.UUID;
|
|||
public final class ValorsReachTagTeam extends CardImpl {
|
||||
|
||||
public ValorsReachTagTeam(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{}, "");
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "");
|
||||
this.nightCard = true;
|
||||
TransformingDoubleFacedCard.copyToBackFace(new mage.cards.i.InvasionOfKylem(ownerId, setInfo), this);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -75,7 +75,6 @@ public abstract class TransformingDoubleFacedCard extends CardImpl {
|
|||
|
||||
protected void finalizeDFC() {
|
||||
this.getSuperType().addAll(this.getLeftHalfCard().getSuperType());
|
||||
this.getCardType().addAll(this.getLeftHalfCard().getCardType());
|
||||
this.getSubtype().addAll(this.getLeftHalfCard().getSubtype());
|
||||
for (Ability ability : this.getLeftHalfCard().getAbilities()) {
|
||||
if (!ability.equals(this.getLeftHalfCard().getSpellAbility())) {
|
||||
|
|
@ -104,7 +103,6 @@ public abstract class TransformingDoubleFacedCard extends CardImpl {
|
|||
public static void copyToBackFace(TransformingDoubleFacedCard tdfc, Card card) {
|
||||
card.getColor().setColor(tdfc.getRightHalfCard().getColor());
|
||||
card.getSuperType().addAll(tdfc.getRightHalfCard().getSuperType());
|
||||
card.getCardType().addAll(tdfc.getRightHalfCard().getCardType());
|
||||
card.getSubtype().addAll(tdfc.getRightHalfCard().getSubtype());
|
||||
for (Ability ability : tdfc.getRightHalfCard().getAbilities()) {
|
||||
if (!ability.equals(tdfc.getRightHalfCard().getSpellAbility())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue