mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
*Added
Evil Twin
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user