mirror of
https://github.com/correl/mage.git
synced 2024-12-28 03:00:10 +00:00
[ONE] Implement Apostle of Invasion
This commit is contained in:
parent
74e5bf04a4
commit
f850a93277
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/a/ApostleOfInvasion.java
Normal file
49
Mage.Sets/src/mage/cards/a/ApostleOfInvasion.java
Normal file
|
@ -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);
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue