fixed Karplusan Hound damaging everything
@@ -33,13 +33,14 @@ import mage.abilities.Ability;
import mage.abilities.common.AttacksTriggeredAbility;
import mage.abilities.condition.common.PermanentsOnTheBattlefieldCondition;
import mage.abilities.decorator.ConditionalTriggeredAbility;
-import mage.abilities.effects.common.DamageEverythingEffect;
+import mage.abilities.effects.common.DamageTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.common.FilterPlaneswalkerPermanent;
import mage.filter.predicate.mageobject.SubtypePredicate;
+import mage.target.common.TargetAnyTarget;
/**
*
@@ -56,9 +57,13 @@ public class KarplusanHound extends CardImpl {
FilterPlaneswalkerPermanent filter = new FilterPlaneswalkerPermanent("a Chandra planeswalker");
filter.add(new SubtypePredicate(SubType.CHANDRA));
// Whenever Karplusan Hound attacks, if you control a Chandra planeswalker, this creature deals 2 damage to any target.
- Ability ability = new ConditionalTriggeredAbility(new AttacksTriggeredAbility(new DamageEverythingEffect(2), false), new PermanentsOnTheBattlefieldCondition(filter),
- "if you control a Chandra planeswalker, this creature deals 2 damage to any target");
-
+ Ability ability = new ConditionalTriggeredAbility(
+ new AttacksTriggeredAbility(new DamageTargetEffect(2), false),
+ new PermanentsOnTheBattlefieldCondition(filter),
+ "if you control a Chandra planeswalker, "
+ + "this creature deals 2 damage to any target"
+ );
+ ability.addTarget(new TargetAnyTarget());
this.addAbility(ability);
}
