forked from External/mage
[EOC] Implement Surge Protector
This commit is contained in:
parent
49488ea498
commit
783ef1fe9e
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/s/SurgeConductor.java
Normal file
49
Mage.Sets/src/mage/cards/s/SurgeConductor.java
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldAllTriggeredAbility;
|
||||
import mage.abilities.effects.common.counter.ProliferateEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledArtifactPermanent;
|
||||
import mage.filter.predicate.mageobject.AnotherPredicate;
|
||||
import mage.filter.predicate.permanent.TokenPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SurgeConductor extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterControlledArtifactPermanent("another nontoken artifact you control");
|
||||
|
||||
static {
|
||||
filter.add(AnotherPredicate.instance);
|
||||
filter.add(TokenPredicate.TRUE);
|
||||
}
|
||||
|
||||
public SurgeConductor(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{3}");
|
||||
|
||||
this.subtype.add(SubType.ROBOT);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Whenever another nontoken artifact you control enters, proliferate.
|
||||
this.addAbility(new EntersBattlefieldAllTriggeredAbility(new ProliferateEffect(), filter));
|
||||
}
|
||||
|
||||
private SurgeConductor(final SurgeConductor card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SurgeConductor copy() {
|
||||
return new SurgeConductor(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -155,6 +155,7 @@ public final class EdgeOfEternitiesCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Steel Overseer", 144, Rarity.RARE, mage.cards.s.SteelOverseer.class));
|
||||
cards.add(new SetCardInfo("Sulfur Falls", 184, Rarity.RARE, mage.cards.s.SulfurFalls.class));
|
||||
cards.add(new SetCardInfo("Sulfurous Springs", 185, Rarity.RARE, mage.cards.s.SulfurousSprings.class));
|
||||
cards.add(new SetCardInfo("Surge Conductor", 19, Rarity.RARE, mage.cards.s.SurgeConductor.class));
|
||||
cards.add(new SetCardInfo("Swan Song", 46, Rarity.RARE, mage.cards.s.SwanSong.class));
|
||||
cards.add(new SetCardInfo("Swords to Plowshares", 45, Rarity.UNCOMMON, mage.cards.s.SwordsToPlowshares.class));
|
||||
cards.add(new SetCardInfo("Szarel, Genesis Shepherd", 4, Rarity.MYTHIC, mage.cards.s.SzarelGenesisShepherd.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue