mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 12:49:39 -08:00
Fixed harmonic sliver give ability to artefact instead of sliver and target was not require.
This commit is contained in:
parent
0d37d1593b
commit
ea5d1f2cd0
1 changed files with 4 additions and 2 deletions
|
|
@ -74,10 +74,12 @@ public class HarmonicSliver extends CardImpl<HarmonicSliver> {
|
||||||
|
|
||||||
// All Slivers have "When this permanent enters the battlefield, destroy target artifact or enchantment."
|
// All Slivers have "When this permanent enters the battlefield, destroy target artifact or enchantment."
|
||||||
Ability ability = new EntersBattlefieldTriggeredAbility(new DestroyTargetEffect(), false);
|
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(
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(
|
||||||
ability, Duration.WhileOnBattlefield,
|
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) {
|
public HarmonicSliver(final HarmonicSliver card) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue