Fixed harmonic sliver give ability to artefact instead of sliver and target was not require.

This commit is contained in:
Plopman 2013-08-06 20:28:57 +02:00
parent 0d37d1593b
commit ea5d1f2cd0

View file

@ -74,10 +74,12 @@ public class HarmonicSliver extends CardImpl<HarmonicSliver> {
// All Slivers have "When this permanent enters the battlefield, destroy target artifact or enchantment."
Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
ability.addTarget(new TargetPermanent(filter));
TargetPermanent target = new TargetPermanent(filter);
target.setRequired(true);
ability.addTarget(target);
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(
ability, Duration.WhileOnBattlefield,
filter, "All Slivers have \"When this permanent enters the battlefield, destroy target artifact or enchantment.\"")));
filterSliver, "All Slivers have \"When this permanent enters the battlefield, destroy target artifact or enchantment.\"")));
}
public HarmonicSliver(final HarmonicSliver card) {