Merge pull request #2722 from MTGfan/master

Revert Gilder Bairn added filter
This commit is contained in:
Justin Herlehy 2016-12-27 21:22:00 -05:00 committed by GitHub
commit fe4d20ce8a

View file

@ -40,8 +40,6 @@ import mage.constants.CardType;
import mage.constants.Outcome; import mage.constants.Outcome;
import mage.constants.Zone; import mage.constants.Zone;
import mage.counters.Counter; import mage.counters.Counter;
import mage.filter.FilterPermanent;
import mage.filter.predicate.permanent.CounterAnyPredicate;
import mage.game.Game; import mage.game.Game;
import mage.game.permanent.Permanent; import mage.game.permanent.Permanent;
import mage.target.TargetPermanent; import mage.target.TargetPermanent;
@ -52,12 +50,6 @@ import mage.target.TargetPermanent;
*/ */
public class GilderBairn extends CardImpl { public class GilderBairn extends CardImpl {
private static final FilterPermanent filter = new FilterPermanent();
static {
filter.add(new CounterAnyPredicate());
}
public GilderBairn(UUID ownerId, CardSetInfo setInfo) { public GilderBairn(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G/U}{G/U}"); super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{G/U}{G/U}");
this.subtype.add("Ouphe"); this.subtype.add("Ouphe");
@ -68,7 +60,7 @@ public class GilderBairn extends CardImpl {
// {2}{GU}, {untap}: For each counter on target permanent, put another of those counters on that permanent. // {2}{GU}, {untap}: For each counter on target permanent, put another of those counters on that permanent.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GilderBairnEffect(), new ManaCostsImpl("{2}{G/U}")); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new GilderBairnEffect(), new ManaCostsImpl("{2}{G/U}"));
ability.addCost(new UntapSourceCost()); ability.addCost(new UntapSourceCost());
ability.addTarget(new TargetPermanent(filter)); ability.addTarget(new TargetPermanent());
this.addAbility(ability); this.addAbility(ability);
} }