Implemented Apostle of Purifying Light

This commit is contained in:
Evan Kranzler 2019-06-24 19:54:10 -04:00
parent df560c05f6
commit f12bcb843c
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,48 @@
package mage.cards.a;
import mage.MageInt;
import mage.ObjectColor;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.effects.common.ExileTargetEffect;
import mage.abilities.keyword.ProtectionAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.target.common.TargetCardInGraveyard;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class ApostleOfPurifyingLight extends CardImpl {
public ApostleOfPurifyingLight(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}");
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.CLERIC);
this.power = new MageInt(2);
this.toughness = new MageInt(1);
// Protection from black
this.addAbility(ProtectionAbility.from(ObjectColor.BLACK));
// {2}: Exile target card from a graveyard.
Ability ability = new SimpleActivatedAbility(new ExileTargetEffect(), new GenericManaCost(2));
ability.addTarget(new TargetCardInGraveyard());
this.addAbility(ability);
}
private ApostleOfPurifyingLight(final ApostleOfPurifyingLight card) {
super(card);
}
@Override
public ApostleOfPurifyingLight copy() {
return new ApostleOfPurifyingLight(this);
}
}

View file

@ -49,6 +49,7 @@ public final class CoreSet2020 extends ExpansionSet {
cards.add(new SetCardInfo("Ajani, Strength of the Pride", 2, Rarity.MYTHIC, mage.cards.a.AjaniStrengthOfThePride.class));
cards.add(new SetCardInfo("Ancestral Blade", 3, Rarity.UNCOMMON, mage.cards.a.AncestralBlade.class));
cards.add(new SetCardInfo("Angel of Vitality", 4, Rarity.UNCOMMON, mage.cards.a.AngelOfVitality.class));
cards.add(new SetCardInfo("Apostle of Purifying Light", 6, Rarity.UNCOMMON, mage.cards.a.ApostleOfPurifyingLight.class));
cards.add(new SetCardInfo("Atemsis, All-Seeing", 46, Rarity.RARE, mage.cards.a.AtemsisAllSeeing.class));
cards.add(new SetCardInfo("Barkhide Troll", 165, Rarity.UNCOMMON, mage.cards.b.BarkhideTroll.class));
cards.add(new SetCardInfo("Bishop of Wings", 8, Rarity.RARE, mage.cards.b.BishopOfWings.class));