mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
[ACR] Implement Aya of Alexandria
This commit is contained in:
parent
94fb867dd5
commit
daef3ef798
2 changed files with 63 additions and 0 deletions
62
Mage.Sets/src/mage/cards/a/AyaOfAlexandria.java
Normal file
62
Mage.Sets/src/mage/cards/a/AyaOfAlexandria.java
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.DealsDamageToAPlayerAllTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.LifelinkAbility;
|
||||
import mage.abilities.keyword.MenaceAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SetTargetPointer;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.HistoricPredicate;
|
||||
import mage.game.permanent.token.AssassinMenaceToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AyaOfAlexandria extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterControlledCreaturePermanent("a historic creature you control");
|
||||
|
||||
static {
|
||||
filter.add(HistoricPredicate.instance);
|
||||
}
|
||||
|
||||
public AyaOfAlexandria(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}{W}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.HUMAN);
|
||||
this.subtype.add(SubType.ASSASSIN);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Menace
|
||||
this.addAbility(new MenaceAbility());
|
||||
|
||||
// Lifelink
|
||||
this.addAbility(LifelinkAbility.getInstance());
|
||||
|
||||
// Whenever a historic creature you control deals combat damage to a player, create a 1/1 black Assassin creature token with menace.
|
||||
this.addAbility(new DealsDamageToAPlayerAllTriggeredAbility(
|
||||
new CreateTokenEffect(new AssassinMenaceToken()), filter,
|
||||
false, SetTargetPointer.NONE, true
|
||||
));
|
||||
}
|
||||
|
||||
private AyaOfAlexandria(final AyaOfAlexandria card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AyaOfAlexandria copy() {
|
||||
return new AyaOfAlexandria(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -22,6 +22,7 @@ public final class AssassinsCreed extends ExpansionSet {
|
|||
this.hasBoosters = false;
|
||||
|
||||
cards.add(new SetCardInfo("Assassin's Trophy", 166, Rarity.RARE, mage.cards.a.AssassinsTrophy.class));
|
||||
cards.add(new SetCardInfo("Aya of Alexandria", 48, Rarity.RARE, mage.cards.a.AyaOfAlexandria.class));
|
||||
cards.add(new SetCardInfo("Basim Ibn Ishaq", 49, Rarity.RARE, mage.cards.b.BasimIbnIshaq.class));
|
||||
cards.add(new SetCardInfo("Bayek of Siwa", 50, Rarity.RARE, mage.cards.b.BayekOfSiwa.class));
|
||||
cards.add(new SetCardInfo("Cathartic Reunion", 94, Rarity.UNCOMMON, mage.cards.c.CatharticReunion.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue