diff --git a/res/card-pictures.txt b/res/card-pictures.txt index 5523bc5eca4..fa3801257d6 100644 --- a/res/card-pictures.txt +++ b/res/card-pictures.txt @@ -18,6 +18,11 @@ 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 +shorecrasher_mimic.jpg http://www.wizards.com/global/images/magic/general/Shorecrasher_Mimic.jpg +woodlurker_mimic.jpg http://www.wizards.com/global/images/magic/general/Woodlurker_Mimic.jpg +battlegate_mimic.jpg http://www.wizards.com/global/images/magic/general/Battlegate_Mimic.jpg +nightsky_mimic.jpg http://www.wizards.com/global/images/magic/general/Nightsky_Mimic.jpg +riverfall_mimic.jpg http://www.wizards.com/global/images/magic/general/Riverfall_Mimic.jpg sapling_of_colfenor.jpg http://www.wizards.com/global/images/magic/general/Sapling_of_Colfenor.jpg dovescape.jpg http://www.wizards.com/global/images/magic/general/dovescape.jpg lurking_informant.jpg http://www.wizards.com/global/images/magic/general/lurking_informant.jpg diff --git a/res/cards.txt b/res/cards.txt index 7e83cfdb329..02825a8aab8 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1,3 +1,33 @@ +Shorecrasher Mimic +1 GU +Creature Shapeshifter +Whenever you cast a spell that’s both green and blue, Shorecrasher Mimic becomes 5/3 and gains trample until end of turn. +2/1 + +Woodlurker Mimic +1 BG +Creature Shapeshifter +Whenever you cast a spell that’s both black and green, Woodlurker Mimic becomes 4/5 and gains wither until end of turn. (It deals damage to creatures in the form of -1/-1 counters.) +2/1 + +Battlegate Mimic +1 RW +Creature Shapeshifter +Whenever you cast a spell that’s both red and white, Battlegate Mimic becomes 4/2 and gains first strike until end of turn. +2/1 + +Nightsky Mimic +1 WB +Creature Shapeshifter +Whenever you cast a spell that’s both white and black, Nightsky Mimic becomes 4/4 and gains flying until end of turn. +2/1 + +Riverfall Mimic +1 UR +Creature Shapeshifter +Whenever you cast a spell that’s both blue and red, Riverfall Mimic becomes 3/3 and is unblockable until end of turn. +2/1 + Sapling of Colfenor 3 BG BG Legendary Creature Treefolk Shaman diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index 5e9a6c65872..dfeafcbd1e9 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -83,6 +83,11 @@ public class GameActionUtil // card gets played // (called in MagicStack.java) Card c = sa.getSourceCard(); + playCard_Battlegate_Mimic(c); + playCard_Nightsky_Mimic(c); + playCard_Riverfall_Mimic(c); + playCard_Shorecrasher_Mimic(c); + playCard_Woodlurker_Mimic(c); playCard_Dovescape(c); playCard_Belligerent_Hatchling(c); playCard_Voracious_Hatchling(c); @@ -103,7 +108,280 @@ public class GameActionUtil playCard_Mold_Adder(c); playCard_Fable_of_Wolf_and_Owl(c); } + public static void playCard_Shorecrasher_Mimic(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("Shorecrasher Mimic"); + + if (list.size() > 0){ + if (CardUtil.getColors(c).contains(Constant.Color.Blue) && CardUtil.getColors(c).contains(Constant.Color.Green)) + { + for (int i=0;i 0){ + if (CardUtil.getColors(c).contains(Constant.Color.Red) && CardUtil.getColors(c).contains(Constant.Color.White)) + { + for (int i=0;i 0){ + if (CardUtil.getColors(c).contains(Constant.Color.Black) && CardUtil.getColors(c).contains(Constant.Color.White)) + { + for (int i=0;i 0){ + if (CardUtil.getColors(c).contains(Constant.Color.Blue) && CardUtil.getColors(c).contains(Constant.Color.Red)) + { + for (int i=0;i 0){ + if (CardUtil.getColors(c).contains(Constant.Color.Black) && CardUtil.getColors(c).contains(Constant.Color.Green)) + { + for (int i=0;i