* Dawn to Dusk - Fixed that wrongly only opponent enchantments could be destroyed. Added "from garveyard" to tooltip text of first mode.

This commit is contained in:
LevelX2 2014-04-25 15:56:20 +02:00
parent db31d9a288
commit a96df7d0a2

View file

@ -48,16 +48,13 @@ import mage.target.common.TargetCardInYourGraveyard;
*/ */
public class DawnToDusk extends CardImpl<DawnToDusk> { public class DawnToDusk extends CardImpl<DawnToDusk> {
private static final FilterCard filterCard = new FilterCard("enchantment card"); private static final FilterCard filterCard = new FilterCard("enchantment card from your graveyard");
private static final FilterPermanent filter = new FilterPermanent("enchantment"); private static final FilterPermanent filter = new FilterPermanent("enchantment");
static { static {
filterCard.add(new CardTypePredicate(CardType.ENCHANTMENT)); filterCard.add(new CardTypePredicate(CardType.ENCHANTMENT));
filter.add(new CardTypePredicate(CardType.ENCHANTMENT)); filter.add(new CardTypePredicate(CardType.ENCHANTMENT));
} }
static {
filter.add(new ControllerPredicate(TargetController.OPPONENT));
}
public DawnToDusk(UUID ownerId) { public DawnToDusk(UUID ownerId) {
super(ownerId, 6, "Dawn to Dusk", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{2}{W}{W}"); super(ownerId, 6, "Dawn to Dusk", Rarity.UNCOMMON, new CardType[]{CardType.SORCERY}, "{2}{W}{W}");
this.expansionSetCode = "BNG"; this.expansionSetCode = "BNG";