[DSK] Implement Entity Tracker

This commit is contained in:
theelk801 2024-09-12 09:44:26 -04:00
parent 207568f3c3
commit 05060fe18b
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,42 @@
package mage.cards.e;
import mage.MageInt;
import mage.abilities.abilityword.EerieAbility;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.keyword.FlashAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class EntityTracker extends CardImpl {
public EntityTracker(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}");
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.SCOUT);
this.power = new MageInt(2);
this.toughness = new MageInt(3);
// Flash
this.addAbility(FlashAbility.getInstance());
// Eerie -- Whenever an enchantment you control enters and whenever you fully unlock a Room, draw a card.
this.addAbility(new EerieAbility(new DrawCardSourceControllerEffect(1)));
}
private EntityTracker(final EntityTracker card) {
super(card);
}
@Override
public EntityTracker copy() {
return new EntityTracker(this);
}
}

View file

@ -65,6 +65,7 @@ public final class DuskmournHouseOfHorror extends ExpansionSet {
cards.add(new SetCardInfo("Enduring Tenacity", 95, Rarity.RARE, mage.cards.e.EnduringTenacity.class));
cards.add(new SetCardInfo("Enduring Vitality", 176, Rarity.RARE, mage.cards.e.EnduringVitality.class));
cards.add(new SetCardInfo("Enter the Enigma", 52, Rarity.COMMON, mage.cards.e.EnterTheEnigma.class));
cards.add(new SetCardInfo("Entity Tracker", 53, Rarity.RARE, mage.cards.e.EntityTracker.class));
cards.add(new SetCardInfo("Erratic Apparition", 54, Rarity.COMMON, mage.cards.e.ErraticApparition.class));
cards.add(new SetCardInfo("Etched Cornfield", 258, Rarity.COMMON, mage.cards.e.EtchedCornfield.class));
cards.add(new SetCardInfo("Ethereal Armor", 7, Rarity.UNCOMMON, mage.cards.e.EtherealArmor.class));