Skip to content

Commit

Permalink
[ACR] Implement Ezio, Blade of Vengeance
Browse files Browse the repository at this point in the history
  • Loading branch information
theelk801 committed Feb 24, 2024
1 parent 2526405 commit dca9787
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
53 changes: 53 additions & 0 deletions Mage.Sets/src/mage/cards/e/EzioBladeOfVengeance.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
package mage.cards.e;

import mage.MageInt;
import mage.abilities.common.DealsDamageToAPlayerAllTriggeredAbility;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.keyword.DeathtouchAbility;
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.FilterControlledPermanent;

import java.util.UUID;

/**
* @author TheElk801
*/
public final class EzioBladeOfVengeance extends CardImpl {

private static final FilterPermanent filter
= new FilterControlledPermanent(SubType.ASSASSIN, "an Assassin you control");

public EzioBladeOfVengeance(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}{B}");

this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.ASSASSIN);
this.power = new MageInt(5);
this.toughness = new MageInt(5);

// Deathtouch
this.addAbility(DeathtouchAbility.getInstance());

// Whenever an Assassin you control deals combat damage to a player, draw a card.
this.addAbility(new DealsDamageToAPlayerAllTriggeredAbility(
new DrawCardSourceControllerEffect(1), filter,
false, SetTargetPointer.NONE, true
));
}

private EzioBladeOfVengeance(final EzioBladeOfVengeance card) {
super(card);
}

@Override
public EzioBladeOfVengeance copy() {
return new EzioBladeOfVengeance(this);
}
}
1 change: 1 addition & 0 deletions Mage.Sets/src/mage/sets/AssassinsCreed.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ private AssassinsCreed() {

cards.add(new SetCardInfo("Cover of Darkness", 89, Rarity.RARE, mage.cards.c.CoverOfDarkness.class));
cards.add(new SetCardInfo("Eivor, Battle-Ready", 274, Rarity.MYTHIC, mage.cards.e.EivorBattleReady.class));
cards.add(new SetCardInfo("Ezio, Blade of Vengeance", 275, Rarity.MYTHIC, mage.cards.e.EzioBladeOfVengeance.class));
cards.add(new SetCardInfo("Haystack", 175, Rarity.UNCOMMON, mage.cards.h.Haystack.class));
cards.add(new SetCardInfo("Sword of Feast and Famine", 99, Rarity.MYTHIC, mage.cards.s.SwordOfFeastAndFamine.class));
cards.add(new SetCardInfo("Temporal Trespass", 86, Rarity.MYTHIC, mage.cards.t.TemporalTrespass.class));
Expand Down

0 comments on commit dca9787

Please sign in to comment.