From 13ca02536eb968439e047eb94e661f9152f54f5d Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Thu, 11 Dec 2014 01:33:53 +0100 Subject: [PATCH] * Goblin Cohort - Fixed that it could attack without the need to cast a creature spell before. --- .../mage/sets/betrayersofkamigawa/GoblinCohort.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/Mage.Sets/src/mage/sets/betrayersofkamigawa/GoblinCohort.java b/Mage.Sets/src/mage/sets/betrayersofkamigawa/GoblinCohort.java index 7f8699ed88..ee8fa8cfcc 100644 --- a/Mage.Sets/src/mage/sets/betrayersofkamigawa/GoblinCohort.java +++ b/Mage.Sets/src/mage/sets/betrayersofkamigawa/GoblinCohort.java @@ -40,9 +40,6 @@ import mage.constants.Duration; import mage.constants.Rarity; import mage.constants.WatcherScope; import mage.constants.Zone; -import mage.filter.common.FilterControlledPermanent; -import mage.filter.predicate.mageobject.CardTypePredicate; -import mage.filter.predicate.permanent.AnotherPredicate; import mage.game.Game; import mage.game.events.GameEvent; import mage.game.permanent.Permanent; @@ -83,13 +80,6 @@ public class GoblinCohort extends CardImpl { class GoblinCohortEffect extends RestrictionEffect { - private static final FilterControlledPermanent filter = new FilterControlledPermanent("another artifact"); - - static { - filter.add(new CardTypePredicate(CardType.ARTIFACT)); - filter.add(new AnotherPredicate()); - } - public GoblinCohortEffect() { super(Duration.WhileOnBattlefield); staticText = "{this} can't attack unless you've cast a creature spell this turn"; @@ -126,7 +116,7 @@ class PlayerCastCreatureWatcher extends Watcher { Set playerIds = new HashSet<>(); public PlayerCastCreatureWatcher() { - super("CastCreature", WatcherScope.GAME); + super("PlayerCastCreature", WatcherScope.GAME); } public PlayerCastCreatureWatcher(final PlayerCastCreatureWatcher watcher) {