diff --git a/res/card-pictures.txt b/res/card-pictures.txt index 91a16a702d6..5e63b1407dc 100644 --- a/res/card-pictures.txt +++ b/res/card-pictures.txt @@ -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 diff --git a/res/cards.txt b/res/cards.txt index f2288f33be9..9639c36d6bb 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -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 diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index f6376c90834..494026cf43b 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -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