mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
*Added
Evil Twin
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
10
res/cardsfolder/e/evil_twin.txt
Normal file
10
res/cardsfolder/e/evil_twin.txt
Normal 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
|
||||
@@ -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];
|
||||
@@ -2324,6 +2325,13 @@ public class CardFactory_Creatures {
|
||||
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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user