mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Cinder Pyromancer 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
|
||||
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
|
||||
cinder_pyromancer.jpg http://www.wizards.com/global/images/magic/general/cinder_pyromancer.jpg
|
||||
antler_skulkin.jpg http://www.wizards.com/global/images/magic/general/antler_skulkin.jpg
|
||||
ballynock_trapper.jpg http://www.wizards.com/global/images/magic/general/ballynock_trapper.jpg
|
||||
mudbrawler_cohort.jpg http://www.wizards.com/global/images/magic/general/mudbrawler_cohort.jpg
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Cinder Pyromancer
|
||||
2 R
|
||||
Creature Elemental Shaman
|
||||
Whenever you cast a red spell, you may untap Cinder Pyromancer.
|
||||
0/1
|
||||
abDamageCP T:1
|
||||
|
||||
Ashenmoor Cohort
|
||||
5 B
|
||||
Creature Elemental Warrior
|
||||
|
||||
@@ -108,6 +108,7 @@ public class GameActionUtil
|
||||
playCard_Witch_Maw_Nephilim(c);
|
||||
playCard_Forced_Fruition(c);
|
||||
playCard_Gelectrode(c);
|
||||
playCard_Cinder_Pyromancer(c);
|
||||
playCard_Ballynock_Trapper(c);
|
||||
playCard_Standstill(c);
|
||||
playCard_Memory_Erosion(c);
|
||||
@@ -1284,6 +1285,50 @@ public class GameActionUtil
|
||||
}
|
||||
}// Gelectrode
|
||||
|
||||
public static void playCard_Cinder_Pyromancer(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("Cinder Pyromancer");
|
||||
|
||||
if (list.size() > 0 && CardUtil.getColors(c).contains(Constant.Color.Red) ){
|
||||
|
||||
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 Cinder Pyromancer?", choices);
|
||||
if (choice.equals("Yes")) {
|
||||
card.untap();}
|
||||
}
|
||||
if (card.getController().equals("Computer")) {card.untap();}
|
||||
}
|
||||
|
||||
}; // ability2
|
||||
|
||||
ability2.setStackDescription(card.getName() + " - "
|
||||
+ c.getController() + " played a red spell, you may untap Cinder Pyromancer.");
|
||||
AllZone.Stack.add(ability2);
|
||||
}
|
||||
}
|
||||
}// Cinder_Pyromancer
|
||||
|
||||
public static void playCard_Ballynock_Trapper(Card c)
|
||||
{
|
||||
final String controller = c.getController();
|
||||
@@ -1322,7 +1367,7 @@ public class GameActionUtil
|
||||
}; // ability2
|
||||
|
||||
ability2.setStackDescription(card.getName() + " - "
|
||||
+ c.getController() + " played an instant or sorcery spell, you may untap Gelectrode.");
|
||||
+ c.getController() + " played a white spell, you may untap Ballynock Trapper.");
|
||||
AllZone.Stack.add(ability2);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user