mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 14:02:05 -08:00
[EOE] Implement Alpharael, Stonechosen
This commit is contained in:
parent
7216fcf1c4
commit
91ee58c78a
2 changed files with 51 additions and 0 deletions
49
Mage.Sets/src/mage/cards/a/AlpharaelStonechosen.java
Normal file
49
Mage.Sets/src/mage/cards/a/AlpharaelStonechosen.java
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
import mage.abilities.condition.common.VoidCondition;
|
||||
import mage.abilities.costs.common.DiscardCardCost;
|
||||
import mage.abilities.effects.common.LoseHalfLifeTargetEffect;
|
||||
import mage.abilities.keyword.WardAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.*;
|
||||
import mage.watchers.common.VoidWatcher;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AlpharaelStonechosen extends CardImpl {
|
||||
|
||||
public AlpharaelStonechosen(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}{B}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.CLERIC);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Ward--Discard a card at random.
|
||||
this.addAbility(new WardAbility(new DiscardCardCost(true)));
|
||||
|
||||
// Void -- Whenever Alpharael attacks, if a nonland permanent left the battlefield this turn or a spell was warped this turn, defending player loses half their life, rounded up.
|
||||
this.addAbility(new AttacksTriggeredAbility(
|
||||
new LoseHalfLifeTargetEffect()
|
||||
.setText("defending player loses half their life, rounded up"),
|
||||
false, null, SetTargetPointer.PLAYER
|
||||
).withInterveningIf(VoidCondition.instance).setAbilityWord(AbilityWord.VOID).addHint(VoidCondition.getHint()), new VoidWatcher());
|
||||
}
|
||||
|
||||
private AlpharaelStonechosen(final AlpharaelStonechosen card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AlpharaelStonechosen copy() {
|
||||
return new AlpharaelStonechosen(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -28,6 +28,8 @@ public final class EdgeOfEternities extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Adagia, Windswept Bastion", 277, Rarity.MYTHIC, mage.cards.a.AdagiaWindsweptBastion.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Adagia, Windswept Bastion", 372, Rarity.MYTHIC, mage.cards.a.AdagiaWindsweptBastion.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Alpharael, Dreaming Acolyte", 212, Rarity.UNCOMMON, mage.cards.a.AlpharaelDreamingAcolyte.class));
|
||||
cards.add(new SetCardInfo("Alpharael, Stonechosen", 292, Rarity.MYTHIC, mage.cards.a.AlpharaelStonechosen.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Alpharael, Stonechosen", 87, Rarity.MYTHIC, mage.cards.a.AlpharaelStonechosen.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Annul", 394, Rarity.UNCOMMON, mage.cards.a.Annul.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Annul", 46, Rarity.UNCOMMON, mage.cards.a.Annul.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Anticausal Vestige", 1, Rarity.RARE, mage.cards.a.AnticausalVestige.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue