diff --git a/res/card-pictures.txt b/res/card-pictures.txt index 5cb3f1aa077..3e842b1e36a 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 +chronatog.jpg http://www.wizards.com/global/images/magic/general/chronatog.jpg +loxodon_gatekeeper.jpg http://www.wizards.com/global/images/magic/general/loxodon_gatekeeper.jpg +frozen_aether.jpg http://www.wizards.com/global/images/magic/general/frozen_aether.jpg +kismet.jpg http://www.wizards.com/global/images/magic/general/kismet.jpg +gush.jpg http://www.wizards.com/global/images/magic/general/gush.jpg stasis.jpg http://www.wizards.com/global/images/magic/general/stasis.jpg cosmic_horror.jpg http://www.wizards.com/global/images/magic/general/cosmic_horror.jpg force_of_nature.jpg http://www.wizards.com/global/images/magic/general/force_of_nature.jpg diff --git a/res/main.properties b/res/main.properties index 0ac2588a084..f2c1b175d3b 100644 --- a/res/main.properties +++ b/res/main.properties @@ -1,6 +1,6 @@ program/mail=mtgerror@yahoo.com program/forum=http://www.slightlymagic.net/forum/viewforum.php?f=26 -program/version=Forge -- official beta: 09/12/14, SVN revision: 246 +program/version=Forge -- official beta: 09/12/14, SVN revision: 247 tokens--file=AllTokens.txt diff --git a/src/forge/CardFactory.java b/src/forge/CardFactory.java index 619f72c64f1..fef8318eacf 100644 --- a/src/forge/CardFactory.java +++ b/src/forge/CardFactory.java @@ -4319,7 +4319,9 @@ public class CardFactory implements NewConstants { card.addSpellAbility(spell); }//*************** END ************ END ************************** - //*************** START *********** START ************************** + +/* + //*************** START *********** START ************************** else if(cardName.equals("Kinsbaile Borderguard")) { final SpellAbility ability = new Ability(card, "0") @@ -4431,7 +4433,7 @@ public class CardFactory implements NewConstants { card.addDestroyCommand(destroy); }//*************** END ************ END ************************** - +*/ //*************** START *********** START ************************** @@ -9845,6 +9847,9 @@ public class CardFactory implements NewConstants { card.addSpellAbility(spell); }//*************** END ************ END ************************** + +/* + //*************** END ************ END ************************** else if (cardName.equals("Lockjaw Snapper")) { @@ -9885,6 +9890,8 @@ public class CardFactory implements NewConstants { };//command card.addDestroyCommand(destroy); }//*************** START *********** START ************************** +*/ + //*************** START *********** START ************************** else if(cardName.equals("Deep Analysis")) diff --git a/src/forge/CardFactory_Creatures.java b/src/forge/CardFactory_Creatures.java index 861dbb0890c..bae30351a00 100644 --- a/src/forge/CardFactory_Creatures.java +++ b/src/forge/CardFactory_Creatures.java @@ -19254,6 +19254,162 @@ public class CardFactory_Creatures { card.addSpellAbility(ability); }//*************** END ************ END ************************** + + //*************** START *********** START ************************** + else if(cardName.equals("Kinsbaile Borderguard")) + { + final SpellAbility ability = new Ability(card, "0") + { + public void resolve() + { + card.addCounter(Counters.P1P1, countKithkin()); + //System.out.println("all counters: " +card.sumAllCounters()); + }//resolve() + + public int countKithkin() + { + PlayerZone play = AllZone.getZone(Constant.Zone.Play, card.getController()); + CardList kithkin = new CardList(play.getCards()); + kithkin = kithkin.filter(new CardListFilter() + { + + public boolean addCard(Card c) + { + return (c.getType().contains("Kithkin") || c.getKeyword().contains("Changeling"))&& !c.equals(card); + } + + }); + return kithkin.size(); + + } + @SuppressWarnings("unused") // makeToken + public void makeToken() + { + Card c = new Card(); + + c.setOwner(card.getController()); + c.setController(card.getController()); + + c.setName("Kithkin Soldier"); + c.setImageName("W 1 1 Kithkin Soldier"); + c.setManaCost("W"); + c.setToken(true); + + c.addType("Creature"); + c.addType("Kithkin"); + c.addType("Soldier"); + + c.setBaseAttack(1); + c.setBaseDefense(1); + + PlayerZone play = AllZone.getZone(Constant.Zone.Play, card.getController()); + play.add(c); + } + }; + Command intoPlay = new Command() + { + private static final long serialVersionUID = -7067218066522935060L; + + public void execute() + { + ability.setStackDescription("Kinsbaile Borderguard comes into play with a +1/+1 counter on it for each other Kithkin you control."); + AllZone.Stack.add(ability); + } + }; + + final SpellAbility ability2 = new Ability(card, "0") + { + public void resolve() + { + for (int i=0;i 0; + } + }); + + for (int i=0; i