Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions Mage.Sets/src/mage/cards/t/TheNeutrinos.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
package mage.cards.t;

import java.util.UUID;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.AllianceAbility;
import mage.abilities.common.AttacksTriggeredAbility;
import mage.abilities.effects.common.ExileThenReturnTargetEffect;
import mage.abilities.effects.common.continuous.BoostSourceEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.*;
import mage.filter.FilterPermanent;
import mage.filter.common.FilterCreaturePermanent;
import mage.target.TargetPermanent;

/**
*
* @author muz
*/
public final class TheNeutrinos extends CardImpl {

private static final FilterPermanent filter = new FilterCreaturePermanent("creature you own");

static {
filter.add(TargetController.YOU.getOwnerPredicate());
}

public TheNeutrinos(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}{W}");

this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.ELF);
this.subtype.add(SubType.REBEL);
this.power = new MageInt(2);
this.toughness = new MageInt(4);

// Flying
this.addAbility(FlyingAbility.getInstance());

// Alliance -- Whenever another creature you control enters, The Neutrinos get +1/+0 until end of turn.
this.addAbility(new AllianceAbility(new BoostSourceEffect(1, 0, Duration.EndOfTurn)));

// Whenever The Neutrinos attack, exile up to one target creature you own, then return it to the battlefield under your control tapped and attacking.
Ability ability = new AttacksTriggeredAbility(
new ExileThenReturnTargetEffect(true, false, PutCards.BATTLEFIELD_TAPPED_ATTACKING)
.setText("exile up to one target creature you own, then return it "
+ "to the battlefield under your control tapped and attacking"));
ability.addTarget(new TargetPermanent(0, 1, filter));
this.addAbility(ability);
}

private TheNeutrinos(final TheNeutrinos card) {
super(card);
}

@Override
public TheNeutrinos copy() {
return new TheNeutrinos(this);
}
}
1 change: 1 addition & 0 deletions Mage.Sets/src/mage/sets/TeenageMutantNinjaTurtles.java
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ private TeenageMutantNinjaTurtles() {
cards.add(new SetCardInfo("The Last Ronin", 154, Rarity.MYTHIC, mage.cards.t.TheLastRonin.class));
cards.add(new SetCardInfo("The Last Ronin's Technique", 12, Rarity.UNCOMMON, mage.cards.t.TheLastRoninsTechnique.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("The Last Ronin's Technique", 223, Rarity.UNCOMMON, mage.cards.t.TheLastRoninsTechnique.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("The Neutrinos", 160, Rarity.UNCOMMON, mage.cards.t.TheNeutrinos.class));
cards.add(new SetCardInfo("The Ooze", 177, Rarity.RARE, mage.cards.t.TheOoze.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("The Ooze", 277, Rarity.RARE, mage.cards.t.TheOoze.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Tokka & Rahzar, Terrible Twos", 171, Rarity.RARE, mage.cards.t.TokkaAndRahzarTerribleTwos.class, NON_FULL_USE_VARIOUS));
Expand Down