diff --git a/.gitattributes b/.gitattributes index 4a63ad3ae93..d50a72e6539 100644 --- a/.gitattributes +++ b/.gitattributes @@ -2545,6 +2545,7 @@ res/cardsfolder/e/everglove_courier.txt svneol=native#text/plain res/cardsfolder/e/evil_eye_of_orms_by_gore.txt svneol=native#text/plain res/cardsfolder/e/evil_eye_of_urborg.txt svneol=native#text/plain res/cardsfolder/e/evil_presence.txt svneol=native#text/plain +res/cardsfolder/e/evil_twin.txt -text res/cardsfolder/e/evincars_justice.txt svneol=native#text/plain res/cardsfolder/e/eviscerator.txt svneol=native#text/plain res/cardsfolder/e/evolution_charm.txt svneol=native#text/plain diff --git a/res/cardsfolder/e/evil_twin.txt b/res/cardsfolder/e/evil_twin.txt new file mode 100644 index 00000000000..4a1d6e43490 --- /dev/null +++ b/res/cardsfolder/e/evil_twin.txt @@ -0,0 +1,10 @@ +Name:Evil Twin +ManaCost:2 U B +Types:Creature Shapeshifter +Text:You may have CARDNAME enter the battlefield as a copy of any creature on the battlefield except it gains "U B, T: Destroy target creature with the same name as this creature." +PT:0/0 +SVar:Rarity:Rare +SVar:Picture:http://www.wizards.com/global/images/magic/general/evil_twin.jpg +SetInfo:ISD|Rare|http://magiccards.info/scans/en/isd/212.jpg +Oracle:You may have Evil Twin enter the battlefield as a copy of any creature on the battlefield except it gains "{U}{B}, {T}: Destroy target creature with the same name as this creature." +End \ No newline at end of file diff --git a/src/main/java/forge/card/cardFactory/CardFactory_Creatures.java b/src/main/java/forge/card/cardFactory/CardFactory_Creatures.java index 93e457af92e..b09dc47e9b5 100644 --- a/src/main/java/forge/card/cardFactory/CardFactory_Creatures.java +++ b/src/main/java/forge/card/cardFactory/CardFactory_Creatures.java @@ -2206,7 +2206,8 @@ public class CardFactory_Creatures { else if (cardName.equals("Clone") || cardName.equals("Vesuvan Doppelganger") || cardName.equals("Quicksilver Gargantuan") || cardName.equals("Jwari Shapeshifter") || cardName.equals("Phyrexian Metamorph") || cardName.equals("Phantasmal Image") - || cardName.equals("Body Double")) { + || cardName.equals("Body Double") + || cardName.equals("Evil Twin")) { final CardFactoryInterface cfact = cf; final Card[] copyTarget = new Card[1]; final Card[] cloned = new Card[1]; @@ -2323,6 +2324,13 @@ public class CardFactory_Creatures { card, true)); cloned[0].setSVar(svarName.toString(), "AB$Sacrifice | Cost$ 0 | Defined$ Self"); } + + if(cardName.equals("Evil Twin")) { + AbilityFactory AF = new AbilityFactory(); + SpellAbility destroySameName = AF.getAbility("AB$Destroy | Cost$ U B T | ValidTgts$ Creature.sameName | TgtPrompt$ Select target creature with the same name. | SpellDescription$ Destroy target creature with the same name as this creature.", cloned[0]); + + cloned[0].addSpellAbility(destroySameName); + } AllZone.getGameAction().moveToPlayFromHand(cloned[0]); card.setCurrentlyCloningCard(cloned[0]);