* Vermiculos - Fixed that its ability did only trigger for artifacts entering that are controlled by the controller of Vermiculos instead of all artifacts entering.
@@ -34,13 +34,10 @@ import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
-import mage.constants.SubType;
import mage.constants.Duration;
-import mage.constants.TargetController;
+import mage.constants.SubType;
import mage.constants.Zone;
-import mage.filter.FilterPermanent;
import mage.filter.common.FilterArtifactPermanent;
-import mage.filter.predicate.permanent.ControllerPredicate;
/**
*
@@ -48,11 +45,6 @@ import mage.filter.predicate.permanent.ControllerPredicate;
*/
public class Vermiculos extends CardImpl {
- private static final FilterPermanent filter = new FilterArtifactPermanent("an artifact");
- static {
- filter.add(new ControllerPredicate(TargetController.YOU));
- }
-
public Vermiculos(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{B}");
this.subtype.add(SubType.HORROR);
@@ -60,7 +52,8 @@ public class Vermiculos extends CardImpl {
this.toughness = new MageInt(1);
// Whenever an artifact enters the battlefield, Vermiculos gets +4/+4 until end of turn.
- this.addAbility(new EntersBattlefieldAllTriggeredAbility(Zone.BATTLEFIELD, new BoostSourceEffect(4, 4, Duration.EndOfTurn), filter, false));
+ this.addAbility(new EntersBattlefieldAllTriggeredAbility(Zone.BATTLEFIELD, new BoostSourceEffect(4, 4, Duration.EndOfTurn),
+ new FilterArtifactPermanent("an artifact"), false));
}
public Vermiculos(final Vermiculos card) {
