diff --git a/Mage.Sets/src/mage/cards/a/ApostleOfInvasion.java b/Mage.Sets/src/mage/cards/a/ApostleOfInvasion.java new file mode 100644 index 0000000000..a74a76b8cf --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/ApostleOfInvasion.java @@ -0,0 +1,49 @@ +package mage.cards.a; + +import java.util.UUID; + +import mage.MageInt; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.condition.common.CorruptedCondition; +import mage.abilities.decorator.ConditionalContinuousEffect; +import mage.abilities.effects.common.continuous.GainAbilitySourceEffect; +import mage.abilities.keyword.DoubleStrikeAbility; +import mage.constants.AbilityWord; +import mage.constants.SubType; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; + +/** + * @author TheElk801 + */ +public final class ApostleOfInvasion extends CardImpl { + + public ApostleOfInvasion(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{W}{W}"); + + this.subtype.add(SubType.PHYREXIAN); + this.subtype.add(SubType.ANGEL); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // Corrupted -- As long as an opponent has three or more poison counters, Apostle of Invasion has double strike. + this.addAbility(new SimpleStaticAbility(new ConditionalContinuousEffect( + new GainAbilitySourceEffect(DoubleStrikeAbility.getInstance()), CorruptedCondition.instance, + "as long as an opponent has three or more poison counters, {this} has double strike" + )).setAbilityWord(AbilityWord.CORRUPTED).addHint(CorruptedCondition.getHint())); + } + + private ApostleOfInvasion(final ApostleOfInvasion card) { + super(card); + } + + @Override + public ApostleOfInvasion copy() { + return new ApostleOfInvasion(this); + } +} diff --git a/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java b/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java index 986fc10a20..bd08667680 100644 --- a/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java +++ b/Mage.Sets/src/mage/sets/PhyrexiaAllWillBeOne.java @@ -20,6 +20,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet { this.blockName = "Phyrexia: All Will Be One"; this.hasBoosters = false; // temporary + cards.add(new SetCardInfo("Apostle of Invasion", 3, Rarity.UNCOMMON, mage.cards.a.ApostleOfInvasion.class)); cards.add(new SetCardInfo("Archfiend of the Dross", 82, Rarity.RARE, mage.cards.a.ArchfiendOfTheDross.class)); cards.add(new SetCardInfo("Argentum Masticore", 222, Rarity.RARE, mage.cards.a.ArgentumMasticore.class)); cards.add(new SetCardInfo("Black Sun's Twilight", 84, Rarity.RARE, mage.cards.b.BlackSunsTwilight.class));