Evil Twin
This commit is contained in:
Hellfish
2011-10-31 13:08:35 +00:00
parent 13cb92ef84
commit 45963aca0d
3 changed files with 20 additions and 1 deletions

1
.gitattributes vendored
View File

@@ -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

View File

@@ -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

View File

@@ -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]);