From e4d38f4ee94a3b14c0848280181ea51e9e326e90 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Tue, 18 Jun 2013 21:49:16 +0200 Subject: [PATCH] * Hellkite Igniter - The boost ability counts now only the controlled artifacts instead all artifacts. --- .../sets/mirrodinbesieged/HellkiteIgniter.java | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Mage.Sets/src/mage/sets/mirrodinbesieged/HellkiteIgniter.java b/Mage.Sets/src/mage/sets/mirrodinbesieged/HellkiteIgniter.java index e545d5724b..2ff26c50a2 100644 --- a/Mage.Sets/src/mage/sets/mirrodinbesieged/HellkiteIgniter.java +++ b/Mage.Sets/src/mage/sets/mirrodinbesieged/HellkiteIgniter.java @@ -29,9 +29,6 @@ package mage.sets.mirrodinbesieged; import java.util.UUID; - -import mage.constants.CardType; -import mage.constants.Rarity; import mage.MageInt; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.costs.mana.ManaCostsImpl; @@ -41,9 +38,13 @@ import mage.abilities.effects.common.continious.BoostSourceEffect; import mage.abilities.keyword.FlyingAbility; import mage.abilities.keyword.HasteAbility; import mage.cards.CardImpl; +import mage.constants.CardType; import mage.constants.Duration; +import mage.constants.Rarity; +import mage.constants.TargetController; import mage.constants.Zone; import mage.filter.common.FilterArtifactPermanent; +import mage.filter.predicate.permanent.ControllerPredicate; /** * @@ -51,6 +52,11 @@ import mage.filter.common.FilterArtifactPermanent; */ public class HellkiteIgniter extends CardImpl { + private static final FilterArtifactPermanent filter = new FilterArtifactPermanent("artifact you control"); + static { + filter.add(new ControllerPredicate(TargetController.YOU)); + } + public HellkiteIgniter (UUID ownerId) { super(ownerId, 65, "Hellkite Igniter", Rarity.RARE, new CardType[]{CardType.CREATURE}, "{5}{R}{R}"); this.expansionSetCode = "MBS"; @@ -58,11 +64,14 @@ public class HellkiteIgniter extends CardImpl { this.color.setRed(true); this.power = new MageInt(5); this.toughness = new MageInt(5); + + // Flying, haste this.addAbility(FlyingAbility.getInstance()); this.addAbility(HasteAbility.getInstance()); + // {1}{R}: Hellkite Igniter gets +X/+0 until end of turn, where X is the number of artifacts you control. this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostSourceEffect( - new PermanentsOnBattlefieldCount(new FilterArtifactPermanent()), + new PermanentsOnBattlefieldCount(filter), new StaticValue(0), Duration.EndOfTurn), new ManaCostsImpl("{1}{R}")));