mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 17:58:01 +00:00
Gelectrode was added.
This commit is contained in:
@@ -18,6 +18,7 @@ forest.jpg http://resources.wizards.com/magic/cards/unh/en-us/card73946.jpg
|
|||||||
forest1.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=2748
|
forest1.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=2748
|
||||||
forest2.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=587
|
forest2.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=587
|
||||||
forest3.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=586
|
forest3.jpg http://gatherer.wizards.com/handlers/image.ashx?type=card&multiverseid=586
|
||||||
|
gelectrode.jpg http://www.wizards.com/global/images/magic/general/gelectrode.jpg
|
||||||
rathi_trapper.jpg http://www.wizards.com/global/images/magic/general/rathi_trapper.jpg
|
rathi_trapper.jpg http://www.wizards.com/global/images/magic/general/rathi_trapper.jpg
|
||||||
hollow_dogs.jpg http://www.wizards.com/global/images/magic/general/hollow_dogs.jpg
|
hollow_dogs.jpg http://www.wizards.com/global/images/magic/general/hollow_dogs.jpg
|
||||||
lurking_nightstalker.jpg http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=6557
|
lurking_nightstalker.jpg http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=6557
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
Gelectrode
|
||||||
|
1 U R
|
||||||
|
Creature Weird
|
||||||
|
Whenever you play an instant or sorcery spell, you may untap Gelectrode.
|
||||||
|
0/1
|
||||||
|
abDamageCP T:1
|
||||||
|
|
||||||
Rathi Trapper
|
Rathi Trapper
|
||||||
1 B
|
1 B
|
||||||
Creature Human Rebel Rogue
|
Creature Human Rebel Rogue
|
||||||
|
|||||||
@@ -107,6 +107,7 @@ public class GameActionUtil
|
|||||||
playCard_Noxious_Hatchling(c);
|
playCard_Noxious_Hatchling(c);
|
||||||
playCard_Witch_Maw_Nephilim(c);
|
playCard_Witch_Maw_Nephilim(c);
|
||||||
playCard_Forced_Fruition(c);
|
playCard_Forced_Fruition(c);
|
||||||
|
playCard_Gelectrode(c);
|
||||||
playCard_Standstill(c);
|
playCard_Standstill(c);
|
||||||
playCard_Memory_Erosion(c);
|
playCard_Memory_Erosion(c);
|
||||||
playCard_SolKanar(c);
|
playCard_SolKanar(c);
|
||||||
@@ -1238,6 +1239,51 @@ public class GameActionUtil
|
|||||||
}
|
}
|
||||||
}// Witch-Maw Nephilim
|
}// Witch-Maw Nephilim
|
||||||
|
|
||||||
|
public static void playCard_Gelectrode(Card c)
|
||||||
|
{
|
||||||
|
final String controller = c.getController();
|
||||||
|
|
||||||
|
final PlayerZone play = AllZone.getZone(Constant.Zone.Play,
|
||||||
|
controller);
|
||||||
|
|
||||||
|
CardList list = new CardList();
|
||||||
|
list.addAll(play.getCards());
|
||||||
|
|
||||||
|
list = list.getName("Gelectrode");
|
||||||
|
|
||||||
|
if (list.size() > 0 && ( c.getType().contains("Instant") || c.getType().contains("Sorcery") )){
|
||||||
|
|
||||||
|
for (int i=0;i<list.size();i++)
|
||||||
|
{
|
||||||
|
final Card card = list.get(i);
|
||||||
|
|
||||||
|
Ability ability2 = new Ability(card, "0")
|
||||||
|
{
|
||||||
|
public void resolve()
|
||||||
|
{
|
||||||
|
|
||||||
|
if (card.getController().equals("Human"))
|
||||||
|
{
|
||||||
|
String[] choices =
|
||||||
|
{ "Yes", "No" };
|
||||||
|
Object choice = AllZone.Display.getChoice(
|
||||||
|
"Untap gelectrode?", choices);
|
||||||
|
if (choice.equals("Yes")) {
|
||||||
|
card.untap();}
|
||||||
|
}
|
||||||
|
if (card.getController().equals("Computer")) {card.untap();}
|
||||||
|
}
|
||||||
|
|
||||||
|
}; // ability2
|
||||||
|
|
||||||
|
ability2.setStackDescription(card.getName() + " - "
|
||||||
|
+ c.getController() + " played an instant or sorcery spell, you may untap Gelectrode.");
|
||||||
|
AllZone.Stack.add(ability2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}// Gelectrode
|
||||||
|
|
||||||
|
|
||||||
public static void playCard_Forced_Fruition(Card c)
|
public static void playCard_Forced_Fruition(Card c)
|
||||||
{
|
{
|
||||||
PlayerZone hplay = AllZone.getZone(Constant.Zone.Play,
|
PlayerZone hplay = AllZone.getZone(Constant.Zone.Play,
|
||||||
|
|||||||
Reference in New Issue
Block a user