mirror of
https://github.com/correl/mage.git
synced 2025-01-13 19:11:33 +00: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."
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue