mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
[MIC] Implemented Eloise, Nephalia Sleuth
This commit is contained in:
parent
46aa282218
commit
698079f480
3 changed files with 57 additions and 1 deletions
55
Mage.Sets/src/mage/cards/e/EloiseNephaliaSleuth.java
Normal file
55
Mage.Sets/src/mage/cards/e/EloiseNephaliaSleuth.java
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
package mage.cards.e;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.common.DiesCreatureTriggeredAbility;
|
||||||
|
import mage.abilities.common.SacrificePermanentTriggeredAbility;
|
||||||
|
import mage.abilities.effects.keyword.InvestigateEffect;
|
||||||
|
import mage.abilities.effects.keyword.SurveilEffect;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
import mage.constants.SuperType;
|
||||||
|
import mage.filter.FilterPermanent;
|
||||||
|
import mage.filter.predicate.permanent.TokenPredicate;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class EloiseNephaliaSleuth extends CardImpl {
|
||||||
|
|
||||||
|
private static final FilterPermanent filter = new FilterPermanent("a token");
|
||||||
|
|
||||||
|
static {
|
||||||
|
filter.add(TokenPredicate.TRUE);
|
||||||
|
}
|
||||||
|
|
||||||
|
public EloiseNephaliaSleuth(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}{B}");
|
||||||
|
|
||||||
|
this.addSuperType(SuperType.LEGENDARY);
|
||||||
|
this.subtype.add(SubType.HUMAN);
|
||||||
|
this.subtype.add(SubType.ROGUE);
|
||||||
|
this.power = new MageInt(4);
|
||||||
|
this.toughness = new MageInt(4);
|
||||||
|
|
||||||
|
// Whenever another creature you control dies, investigate.
|
||||||
|
this.addAbility(new DiesCreatureTriggeredAbility(
|
||||||
|
new InvestigateEffect(1), false, true
|
||||||
|
));
|
||||||
|
|
||||||
|
// Whenever you sacrifice a token, surveil 1.
|
||||||
|
this.addAbility(new SacrificePermanentTriggeredAbility(new SurveilEffect(1), filter));
|
||||||
|
}
|
||||||
|
|
||||||
|
private EloiseNephaliaSleuth(final EloiseNephaliaSleuth card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public EloiseNephaliaSleuth copy() {
|
||||||
|
return new EloiseNephaliaSleuth(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -58,6 +58,7 @@ public final class MidnightHuntCommander extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Dreadhorde Invasion", 114, Rarity.RARE, mage.cards.d.DreadhordeInvasion.class));
|
cards.add(new SetCardInfo("Dreadhorde Invasion", 114, Rarity.RARE, mage.cards.d.DreadhordeInvasion.class));
|
||||||
cards.add(new SetCardInfo("Eater of Hope", 115, Rarity.RARE, mage.cards.e.EaterOfHope.class));
|
cards.add(new SetCardInfo("Eater of Hope", 115, Rarity.RARE, mage.cards.e.EaterOfHope.class));
|
||||||
cards.add(new SetCardInfo("Elite Scaleguard", 85, Rarity.UNCOMMON, mage.cards.e.EliteScaleguard.class));
|
cards.add(new SetCardInfo("Elite Scaleguard", 85, Rarity.UNCOMMON, mage.cards.e.EliteScaleguard.class));
|
||||||
|
cards.add(new SetCardInfo("Eloise, Nephalia Sleuth", 3, Rarity.MYTHIC, mage.cards.e.EloiseNephaliaSleuth.class));
|
||||||
cards.add(new SetCardInfo("Endless Ranks of the Dead", 116, Rarity.RARE, mage.cards.e.EndlessRanksOfTheDead.class));
|
cards.add(new SetCardInfo("Endless Ranks of the Dead", 116, Rarity.RARE, mage.cards.e.EndlessRanksOfTheDead.class));
|
||||||
cards.add(new SetCardInfo("Enduring Scalelord", 149, Rarity.UNCOMMON, mage.cards.e.EnduringScalelord.class));
|
cards.add(new SetCardInfo("Enduring Scalelord", 149, Rarity.UNCOMMON, mage.cards.e.EnduringScalelord.class));
|
||||||
cards.add(new SetCardInfo("Eternal Skylord", 99, Rarity.UNCOMMON, mage.cards.e.EternalSkylord.class));
|
cards.add(new SetCardInfo("Eternal Skylord", 99, Rarity.UNCOMMON, mage.cards.e.EternalSkylord.class));
|
||||||
|
|
|
@ -60,7 +60,7 @@ public class InvestigateEffect extends OneShotEffect {
|
||||||
default:
|
default:
|
||||||
message = CardUtil.numberToText(amount) + " times. <i>(To investigate, c";
|
message = CardUtil.numberToText(amount) + " times. <i>(To investigate, c";
|
||||||
}
|
}
|
||||||
return "investigate " + message + "reate a colorless Clue artifact token " +
|
return "investigate" + message + "reate a colorless Clue artifact token " +
|
||||||
"with \"{2}, Sacrifice this artifact: Draw a card.\")</i>";
|
"with \"{2}, Sacrifice this artifact: Draw a card.\")</i>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue