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

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