mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[MOM] Implement Infected Defector
This commit is contained in:
parent
8c00f680b2
commit
3b76f9e6d0
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/i/InfectedDefector.java
Normal file
38
Mage.Sets/src/mage/cards/i/InfectedDefector.java
Normal file
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.i;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DiesSourceTriggeredAbility;
|
||||
import mage.abilities.effects.keyword.IncubateEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class InfectedDefector extends CardImpl {
|
||||
|
||||
public InfectedDefector(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{W}");
|
||||
|
||||
this.subtype.add(SubType.PHYREXIAN);
|
||||
this.subtype.add(SubType.KNIGHT);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// When Infected Defector dies, incubate 3.
|
||||
this.addAbility(new DiesSourceTriggeredAbility(new IncubateEffect(3)));
|
||||
}
|
||||
|
||||
private InfectedDefector(final InfectedDefector card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public InfectedDefector copy() {
|
||||
return new InfectedDefector(this);
|
||||
}
|
||||
}
|
|
@ -76,6 +76,7 @@ public final class MarchOfTheMachine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Heliod, the Radiant Dawn", 17, Rarity.RARE, mage.cards.h.HeliodTheRadiantDawn.class));
|
||||
cards.add(new SetCardInfo("Heliod, the Warped Eclipse", 17, Rarity.RARE, mage.cards.h.HeliodTheWarpedEclipse.class));
|
||||
cards.add(new SetCardInfo("Ichor Drinker", 111, Rarity.COMMON, mage.cards.i.IchorDrinker.class));
|
||||
cards.add(new SetCardInfo("Infected Defector", 18, Rarity.COMMON, mage.cards.i.InfectedDefector.class));
|
||||
cards.add(new SetCardInfo("Injector Crocodile", 329, Rarity.COMMON, mage.cards.i.InjectorCrocodile.class));
|
||||
cards.add(new SetCardInfo("Inspired Charge", 19, Rarity.COMMON, mage.cards.i.InspiredCharge.class));
|
||||
cards.add(new SetCardInfo("Interdisciplinary Mascot", 326, Rarity.RARE, mage.cards.i.InterdisciplinaryMascot.class));
|
||||
|
|
Loading…
Reference in a new issue