forked from External/mage
Implemented Throatseeker
This commit is contained in:
parent
6cfeb75453
commit
8daa2d89b4
2 changed files with 54 additions and 0 deletions
53
Mage.Sets/src/mage/cards/t/Throatseeker.java
Normal file
53
Mage.Sets/src/mage/cards/t/Throatseeker.java
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
||||
import mage.abilities.keyword.LifelinkAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.permanent.AttackingPredicate;
|
||||
import mage.filter.predicate.permanent.UnblockedPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Throatseeker extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterPermanent(SubType.NINJA, "unblocked attacking Ninjas");
|
||||
|
||||
static {
|
||||
filter.add(AttackingPredicate.instance);
|
||||
filter.add(UnblockedPredicate.instance);
|
||||
}
|
||||
|
||||
public Throatseeker(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}");
|
||||
|
||||
this.subtype.add(SubType.VAMPIRE);
|
||||
this.subtype.add(SubType.NINJA);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Unblocked attacking Ninjas you control have lifelink.
|
||||
this.addAbility(new SimpleStaticAbility(new GainAbilityControlledEffect(
|
||||
LifelinkAbility.getInstance(), Duration.WhileOnBattlefield, filter
|
||||
)));
|
||||
}
|
||||
|
||||
private Throatseeker(final Throatseeker card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Throatseeker copy() {
|
||||
return new Throatseeker(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -188,6 +188,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Tempered Sliver", 183, Rarity.UNCOMMON, mage.cards.t.TemperedSliver.class));
|
||||
cards.add(new SetCardInfo("The First Sliver", 200, Rarity.MYTHIC, mage.cards.t.TheFirstSliver.class));
|
||||
cards.add(new SetCardInfo("Thornado", 184, Rarity.COMMON, mage.cards.t.Thornado.class));
|
||||
cards.add(new SetCardInfo("Throatseeker", 110, Rarity.UNCOMMON, mage.cards.t.Throatseeker.class));
|
||||
cards.add(new SetCardInfo("Throes of Chaos", 150, Rarity.UNCOMMON, mage.cards.t.ThroesOfChaos.class));
|
||||
cards.add(new SetCardInfo("Thundering Djinn", 215, Rarity.UNCOMMON, mage.cards.t.ThunderingDjinn.class));
|
||||
cards.add(new SetCardInfo("Tranquil Thicket", 248, Rarity.UNCOMMON, mage.cards.t.TranquilThicket.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue