mirror of
https://github.com/correl/mage.git
synced 2025-04-11 09:11:12 -09:00
Implement Tale's End.
This commit is contained in:
parent
1c9aa7904b
commit
a7c06e53e0
1 changed files with 35 additions and 0 deletions
35
Mage.Sets/src/mage/cards/t/TalesEnd.java
Normal file
35
Mage.Sets/src/mage/cards/t/TalesEnd.java
Normal file
|
@ -0,0 +1,35 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.effects.common.CounterTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetActivatedOrTriggeredAbilityOrLegendarySpell;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author rscoates
|
||||
*/
|
||||
public final class TalesEnd extends CardImpl {
|
||||
|
||||
public TalesEnd(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{U}");
|
||||
|
||||
|
||||
// Counter target activated ability, triggered ability, or legendary spell.
|
||||
// Counter target activated or triggered ability.
|
||||
this.getSpellAbility().addEffect(new CounterTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetActivatedOrTriggeredAbilityOrLegendarySpell());
|
||||
}
|
||||
|
||||
private TalesEnd(final TalesEnd card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TalesEnd copy() {
|
||||
return new TalesEnd(this);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue