From d6b9e3240eccb35297235023e2c1b16170026eb6 Mon Sep 17 00:00:00 2001 From: Loki Date: Sat, 3 Sep 2011 00:07:03 +0300 Subject: [PATCH 1/2] [ISD] Angel of Flight Alabaster --- .../innistrad/AngelOfFlightAlabaster.java | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 Mage.Sets/src/mage/sets/innistrad/AngelOfFlightAlabaster.java diff --git a/Mage.Sets/src/mage/sets/innistrad/AngelOfFlightAlabaster.java b/Mage.Sets/src/mage/sets/innistrad/AngelOfFlightAlabaster.java new file mode 100644 index 0000000000..1c0cd1b349 --- /dev/null +++ b/Mage.Sets/src/mage/sets/innistrad/AngelOfFlightAlabaster.java @@ -0,0 +1,52 @@ +package mage.sets.innistrad; + +import mage.Constants; +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.BeginningOfUpkeepTriggeredAbility; +import mage.abilities.effects.common.ReturnToHandTargetEffect; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.CardImpl; +import mage.filter.Filter; +import mage.filter.FilterCard; +import mage.target.Target; +import mage.target.common.TargetCardInYourGraveyard; + +import java.util.UUID; + +public class AngelOfFlightAlabaster extends CardImpl { + private static final FilterCard filter = new FilterCard("Spirit card"); + + static { + filter.getSubtype().add("Spirit"); + filter.setScopeSubtype(Filter.ComparisonScope.Any); + + } + + public AngelOfFlightAlabaster(UUID ownerId) { + super(ownerId, 2, "Angel of Flight Alabaster", Constants.Rarity.RARE, new Constants.CardType[]{Constants.CardType.CREATURE}, "{4{W}"); + this.expansionSetCode = "ISD"; + this.subtype.add("Angel"); + this.color.setWhite(true); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + + this.addAbility(FlyingAbility.getInstance()); + Ability ability = new BeginningOfUpkeepTriggeredAbility(new ReturnToHandTargetEffect(), Constants.TargetController.YOU, false); + Target target = new TargetCardInYourGraveyard(filter); + target.setRequired(true); + ability.addTarget(target); + this.addAbility(ability); + + + } + + public AngelOfFlightAlabaster(final AngelOfFlightAlabaster card) { + super(card); + } + + @Override + public AngelOfFlightAlabaster copy() { + return new AngelOfFlightAlabaster(this); + } +} From 60025ee07c9f68842f1b8d8440b8f7f66a860d01 Mon Sep 17 00:00:00 2001 From: Loki Date: Sat, 3 Sep 2011 00:30:24 +0300 Subject: [PATCH 2/2] [ISD] Invisible Stalker --- .../innistrad/AngelOfFlightAlabaster.java | 2 +- .../mage/sets/innistrad/InvisibleStalker.java | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 Mage.Sets/src/mage/sets/innistrad/InvisibleStalker.java diff --git a/Mage.Sets/src/mage/sets/innistrad/AngelOfFlightAlabaster.java b/Mage.Sets/src/mage/sets/innistrad/AngelOfFlightAlabaster.java index 1c0cd1b349..c746560f24 100644 --- a/Mage.Sets/src/mage/sets/innistrad/AngelOfFlightAlabaster.java +++ b/Mage.Sets/src/mage/sets/innistrad/AngelOfFlightAlabaster.java @@ -24,7 +24,7 @@ public class AngelOfFlightAlabaster extends CardImpl { } public AngelOfFlightAlabaster(UUID ownerId) { - super(ownerId, 2, "Angel of Flight Alabaster", Constants.Rarity.RARE, new Constants.CardType[]{Constants.CardType.CREATURE}, "{4{W}"); + super(ownerId, 2, "Angel of Flight Alabaster", Constants.Rarity.RARE, new Constants.CardType[]{Constants.CardType.CREATURE}, "{4}{W}"); this.expansionSetCode = "ISD"; this.subtype.add("Angel"); this.color.setWhite(true); diff --git a/Mage.Sets/src/mage/sets/innistrad/InvisibleStalker.java b/Mage.Sets/src/mage/sets/innistrad/InvisibleStalker.java new file mode 100644 index 0000000000..6d38e2ba7f --- /dev/null +++ b/Mage.Sets/src/mage/sets/innistrad/InvisibleStalker.java @@ -0,0 +1,31 @@ +package mage.sets.innistrad; + +import mage.Constants; +import mage.MageInt; +import mage.abilities.keyword.HexproofAbility; +import mage.abilities.keyword.UnblockableAbility; +import mage.cards.CardImpl; + +import java.util.UUID; + +public class InvisibleStalker extends CardImpl { + public InvisibleStalker(UUID ownerId) { + super(ownerId, 60, "Invisible Stalker", Constants.Rarity.UNCOMMON, new Constants.CardType[]{Constants.CardType.CREATURE}, "{1}{U}"); + this.expansionSetCode = "ISD"; + this.subtype.add("Human"); + this.subtype.add("Rogue"); + this.color.setBlue(true); + this.power = new MageInt(1); + this.toughness = new MageInt(1); + + this.addAbility(new HexproofAbility()); + this.addAbility(UnblockableAbility.getInstance()); + + } + + @Override + public InvisibleStalker copy() { + return null; //To change body of implemented methods use File | Settings | File Templates. + } + +}